Struct source_map::ToStringer [−][src]
pub struct ToStringer<'a>(_, _);
Expand description
A structure with a buffer and optional corresponding SourceMap
Implementations
Used to push slices that may contain new lines
pub fn add_mapping(
&mut self,
original_line: usize,
original_column: usize,
source_id: SourceId
)
pub fn add_mapping(
&mut self,
original_line: usize,
original_column: usize,
source_id: SourceId
)
Adds a mapping of the from a original position in the source to the position in the current buffer
Auto Trait Implementations
impl<'a> RefUnwindSafe for ToStringer<'a>
impl<'a> Send for ToStringer<'a>
impl<'a> Sync for ToStringer<'a>
impl<'a> Unpin for ToStringer<'a>
impl<'a> !UnwindSafe for ToStringer<'a>