Struct annotate_snippets::snippet::Slice
[−]
[src]
pub struct Slice { pub source: String, pub line_start: usize, pub origin: Option<String>, }
Structure containing the slice of text to be annotated and basic information about the location of the slice.
Fields
source: String
line_start: usize
origin: Option<String>
Trait Implementations
impl Debug for Slice
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more