pub struct AstMeta {
pub range: Range<usize>,
pub item: Ast,
pub has_semi: bool,
}Expand description
Describes where an AST item was found in the source input string.
Fields§
§range: Range<usize>§item: AstThe item that this metadata structure describes.
has_semi: boolWhether or not the AST item has a semicolon after it.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AstMeta
impl RefUnwindSafe for AstMeta
impl Send for AstMeta
impl Sync for AstMeta
impl Unpin for AstMeta
impl UnwindSafe for AstMeta
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more