Struct flycatcher_parser::ast::meta::AstMeta[][src]

pub struct AstMeta {
    pub range: Range<usize>,
    pub item: Ast,
}
Expand description

Describes where an AST item was found in the source input string.

Fields

range: Range<usize>item: Ast

The item that this metadata structure describes.

Implementations

Creates a new AST metadata data structure.

Creates a new AST metadata object, then boxing it.

Converts this AST metadata object into a boxed AST metadata object.

Trait Implementations

Formats the value using the given formatter. Read more

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

Performs the conversion.

Performs the conversion.

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.