pub struct AttributeShorthand {
pub name: Identifier,
pub variable: UnscopedVariable,
pub attributes: Vec<Attribute>,
pub location: Location,
}Expand description
An attribute shorthand
Fields§
§name: Identifier§variable: UnscopedVariable§attributes: Vec<Attribute>§location: LocationTrait Implementations§
Source§impl Debug for AttributeShorthand
impl Debug for AttributeShorthand
Source§impl Display for AttributeShorthand
impl Display for AttributeShorthand
Source§impl PartialEq for AttributeShorthand
impl PartialEq for AttributeShorthand
impl Eq for AttributeShorthand
impl StructuralPartialEq for AttributeShorthand
Auto Trait Implementations§
impl Freeze for AttributeShorthand
impl RefUnwindSafe for AttributeShorthand
impl Send for AttributeShorthand
impl Sync for AttributeShorthand
impl Unpin for AttributeShorthand
impl UnwindSafe for AttributeShorthand
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