Struct ruast::AttributeItem
source · pub struct AttributeItem { /* private fields */ }Implementations§
Trait Implementations§
source§impl Clone for AttributeItem
impl Clone for AttributeItem
source§fn clone(&self) -> AttributeItem
fn clone(&self) -> AttributeItem
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for AttributeItem
impl Debug for AttributeItem
source§impl Display for AttributeItem
impl Display for AttributeItem
source§impl From<AttributeItem> for AttrKind
impl From<AttributeItem> for AttrKind
source§fn from(item: AttributeItem) -> Self
fn from(item: AttributeItem) -> Self
Converts to this type from the input type.
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 From<AttributeItem> for TokenStream
impl From<AttributeItem> for TokenStream
source§fn from(attr: AttributeItem) -> Self
fn from(attr: AttributeItem) -> Self
Converts to this type from the input type.
source§impl Hash for AttributeItem
impl Hash for AttributeItem
source§impl PartialEq for AttributeItem
impl PartialEq for AttributeItem
source§fn eq(&self, other: &AttributeItem) -> bool
fn eq(&self, other: &AttributeItem) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for AttributeItem
impl StructuralEq for AttributeItem
impl StructuralPartialEq for AttributeItem
Auto Trait Implementations§
impl RefUnwindSafe for AttributeItem
impl Send for AttributeItem
impl Sync for AttributeItem
impl Unpin for AttributeItem
impl UnwindSafe for AttributeItem
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