pub struct Attrs {
pub pos: Pos,
}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
Implementations§
Trait Implementations§
impl Copy for Attrs
impl Eq for Attrs
impl StructuralPartialEq 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