pub struct StringWithSourceMap(_, _);

Implementations§

Returns source and the source map TODO better return type

Trait Implementations§

Returns the “default value” for a type. Read more
Used to push strings that may contain new lines
Adds a mapping of the from a original position in the source to the position in the current buffer

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.