pub struct Attrs {
pub pos: Pos,
pub scope: u64,
pub tpe: Type,
}Expand description
Attributes attached to each expression node.
These attributes provide metadata about an expression, including its position in the source code, scope information, and type information.
Fields§
§pos: PosSource position of this expression
scope: u64Scope level (0 for top-level, incremented for subqueries)
tpe: TypeType of this expression
Implementations§
Trait Implementations§
impl Copy for Attrs
Auto Trait Implementations§
impl Freeze for Attrs
impl RefUnwindSafe for Attrs
impl Send for Attrs
impl Sync for Attrs
impl Unpin for Attrs
impl UnwindSafe for Attrs
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