pub struct Meta {
pub id: NodeId,
pub rank: Option<Rank>,
pub anchor: Option<NodeId>,
pub slot: Option<SlotName>,
pub span: Option<Span>,
}Expand description
Shared metadata carried by Draxl nodes.
Fields§
§id: NodeId§rank: Option<Rank>§anchor: Option<NodeId>§slot: Option<SlotName>§span: Option<Span>Implementations§
Source§impl Meta
impl Meta
Sourcepub fn without_span(&self) -> Self
pub fn without_span(&self) -> Self
Returns a copy with source spans removed.
Trait Implementations§
impl Eq for Meta
impl StructuralPartialEq for Meta
Auto Trait Implementations§
impl Freeze for Meta
impl RefUnwindSafe for Meta
impl Send for Meta
impl Sync for Meta
impl Unpin for Meta
impl UnsafeUnpin for Meta
impl UnwindSafe for Meta
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