Enum rustc_errors::RenderSpan
[−]
[src]
pub enum RenderSpan {
FullSpan(MultiSpan),
Suggestion(CodeSuggestion),
}🔬 This is a nightly-only experimental API. (
rustc_private)Variants
FullSpan(MultiSpan)🔬 This is a nightly-only experimental API. (
rustc_private)A FullSpan renders with both with an initial line for the message, prefixed by file:linenum, followed by a summary of the source code covered by the span.
Suggestion(CodeSuggestion)🔬 This is a nightly-only experimental API. (
rustc_private)A suggestion renders with both with an initial line for the
message, prefixed by file:linenum, followed by a summary
of hypothetical source code, where each String is spliced
into the lines in place of the code covered by each span.
Trait Implementations
impl Clone for RenderSpan[src]
fn clone(&self) -> RenderSpan
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Debug for RenderSpan[src]
impl PartialEq for RenderSpan[src]
fn eq(&self, __arg_0: &RenderSpan) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &RenderSpan) -> bool
This method tests for !=.
impl Encodable for RenderSpan[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
🔬 This is a nightly-only experimental API. (rustc_private)
deprecated in favor of rustc-serialize on crates.io
impl Decodable for RenderSpan[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<RenderSpan, __D::Error>
🔬 This is a nightly-only experimental API. (rustc_private)
deprecated in favor of rustc-serialize on crates.io