Struct rustc_ap_rustc_span::CachingSourceMapView [−][src]
pub struct CachingSourceMapView<'sm> { /* fields omitted */ }Implementations
pub fn byte_pos_to_line_and_col(
&mut self,
pos: BytePos
) -> Option<(Lrc<SourceFile>, usize, BytePos)>[src]Trait Implementations
Auto Trait Implementations
impl<'sm> !RefUnwindSafe for CachingSourceMapView<'sm>impl<'sm> !Send for CachingSourceMapView<'sm>impl<'sm> !Sync for CachingSourceMapView<'sm>impl<'sm> Unpin for CachingSourceMapView<'sm>impl<'sm> !UnwindSafe for CachingSourceMapView<'sm>Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V