Struct codespan::CodeMap[][src]

pub struct CodeMap { /* fields omitted */ }

Methods

impl CodeMap
[src]

Creates an empty CodeMap.

Adds a filemap to the codemap with the given name and source string

Adds a filemap to the codemap with the given name and source string

Looks up the File that contains the specified byte index.

Trait Implementations

impl Clone for CodeMap
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for CodeMap
[src]

Formats the value using the given formatter. Read more

impl Default for CodeMap
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for CodeMap

impl Sync for CodeMap