pub struct Attribute {
pub name: String,
pub args: Vec<AttributeArg>,
pub span: Span,
}Fields§
§name: String§args: Vec<AttributeArg>§span: SpanTrait Implementations§
impl StructuralPartialEq for Attribute
Auto Trait Implementations§
impl Forget for Attribute
impl Freeze for Attribute
impl Move for Attribute
impl RefUnwindSafe for Attribute
impl Send for Attributewhere
RawVecInner: Send,
impl Sync for Attributewhere
RawVecInner: Sync,
impl Unpin for Attribute
impl UnsafeUnpin for Attributewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<AttributeArg>: UnsafeUnpin,
impl UnwindSafe for Attributewhere
RawVecInner: UnwindSafe,
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