Struct rustc::ich::CachingCodemapView
[−]
[src]
pub struct CachingCodemapView<'cm> { /* fields omitted */ }🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Methods
impl<'cm> CachingCodemapView<'cm>[src]
pub fn new(codemap: &'cm CodeMap) -> CachingCodemapView<'cm>[src]
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
pub fn byte_pos_to_line_and_col(
&mut self,
pos: BytePos
) -> Option<(Rc<FileMap>, usize, BytePos)>[src]
&mut self,
pos: BytePos
) -> Option<(Rc<FileMap>, usize, BytePos)>
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Trait Implementations
impl<'cm> Clone for CachingCodemapView<'cm>[src]
fn clone(&self) -> CachingCodemapView<'cm>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more