Struct parables_testing::source_map::SourceMap [−][src]
pub struct SourceMap { /* fields omitted */ }A parsed source map.
Methods
impl SourceMap[src]
impl SourceMappub fn parse(input: &str) -> Result<SourceMap, Error>[src]
pub fn parse(input: &str) -> Result<SourceMap, Error>Parse the given source map.
pub fn find_mapping(&self, pc: usize) -> Option<&Mapping>[src]
pub fn find_mapping(&self, pc: usize) -> Option<&Mapping>Find the mapping for a given program counter.
Trait Implementations
impl Debug for SourceMap[src]
impl Debug for SourceMapfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for SourceMap[src]
impl Clone for SourceMapfn clone(&self) -> SourceMap[src]
fn clone(&self) -> SourceMapReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for SourceMap[src]
impl PartialEq for SourceMapfn eq(&self, other: &SourceMap) -> bool[src]
fn eq(&self, other: &SourceMap) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &SourceMap) -> bool[src]
fn ne(&self, other: &SourceMap) -> boolThis method tests for !=.
impl Eq for SourceMap[src]
impl Eq for SourceMap