pub struct Attribute {
pub kind: AttrKind,
}Fields§
§kind: AttrKindImplementations§
Trait Implementations§
source§impl From<Attribute> for TokenStream
impl From<Attribute> for TokenStream
source§impl From<AttributeItem> for Attribute
impl From<AttributeItem> for Attribute
source§fn from(item: AttributeItem) -> Self
fn from(item: AttributeItem) -> Self
Converts to this type from the input type.
source§impl PartialEq for Attribute
impl PartialEq 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§
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