Struct codespan::CodeMap [] [src]

pub struct CodeMap { /* fields omitted */ }

Methods

impl CodeMap
[src]

[src]

Creates an empty CodeMap.

[src]

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

[src]

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

[src]

Looks up the File that contains the specified byte index.

Trait Implementations

impl Clone for CodeMap
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for CodeMap
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for CodeMap
[src]

[src]

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

Auto Trait Implementations

impl Send for CodeMap

impl Sync for CodeMap