pub struct NodeMeta {
pub span: Option<Span>,
}Expand description
Metadata attached to every AST node; currently just the source span.
Fields§
§span: Option<Span>The node’s source location, or None for hand-built nodes.
Implementations§
Trait Implementations§
impl Eq for NodeMeta
impl StructuralPartialEq for NodeMeta
Auto Trait Implementations§
impl Freeze for NodeMeta
impl RefUnwindSafe for NodeMeta
impl Send for NodeMeta
impl Sync for NodeMeta
impl Unpin for NodeMeta
impl UnsafeUnpin for NodeMeta
impl UnwindSafe for NodeMeta
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