pub enum DisplayRawLine {
Origin {
path: String,
pos: Option<(usize, usize)>,
header_type: DisplayHeaderType,
},
Annotation {
annotation: Annotation,
source_aligned: bool,
continuation: bool,
},
}
Expand description
Raw line - a line which does not have the lineno
part and is not considered
a part of the snippet.
Variants§
Origin
A line which provides information about the location of the given slice in the project structure.
Annotation
Fields
§
annotation: Annotation
An annotation line which is not part of any snippet.
Trait Implementations§
source§impl Clone for DisplayRawLine
impl Clone for DisplayRawLine
source§fn clone(&self) -> DisplayRawLine
fn clone(&self) -> DisplayRawLine
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more