Enum syntax::errors::snippet::RenderedLineKind
[−]
[src]
pub enum RenderedLineKind {
PrimaryFileName,
OtherFileName,
SourceText {
file: Rc<FileMap>,
line_index: usize,
},
Annotations,
Elision,
}Unstable (
rustc_private)Variants
PrimaryFileNameUnstable (
rustc_private)OtherFileNameUnstable (
rustc_private)SourceTextUnstable (
rustc_private)Fields
file: Rc<FileMap> | Unstable ( rustc_private) |
line_index: usize | Unstable ( rustc_private) |
AnnotationsUnstable (
rustc_private)ElisionUnstable (
rustc_private)Trait Implementations
Derived Implementations
impl Clone for RenderedLineKind[src]
fn clone(&self) -> RenderedLineKind
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