Struct erg_parser::ast::Attribute
source · [−]pub struct Attribute {
pub obj: Box<Expr>,
pub ident: Identifier,
}
Fields
obj: Box<Expr>
ident: Identifier
Implementations
Trait Implementations
sourceimpl Locational for Attribute
impl Locational for Attribute
sourceimpl NestedDisplay for Attribute
impl NestedDisplay for Attribute
impl Eq for Attribute
impl StructuralEq for Attribute
impl StructuralPartialEq for Attribute
Auto Trait Implementations
impl RefUnwindSafe for Attribute
impl !Send for Attribute
impl !Sync for Attribute
impl Unpin for Attribute
impl UnwindSafe for Attribute
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more