pub struct MetaItemList {
pub ident: Ident,
pub paren_token: Paren,
pub nested: Delimited<NestedMetaItem, Comma>,
}
Expand description
List meta item.
E.g. derive(..)
as in #[derive(..)]
Fields§
§ident: Ident
Name of this attribute.
E.g. derive
in #[derive(..)]
paren_token: Paren
§nested: Delimited<NestedMetaItem, Comma>
Arguments to this attribute
E.g. ..
in #[derive(..)]
Trait Implementations§
Source§impl Clone for MetaItemList
impl Clone for MetaItemList
Source§fn clone(&self) -> MetaItemList
fn clone(&self) -> MetaItemList
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 From<MetaItemList> for MetaItem
impl From<MetaItemList> for MetaItem
Source§fn from(e: MetaItemList) -> MetaItem
fn from(e: MetaItemList) -> MetaItem
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MetaItemList
impl RefUnwindSafe for MetaItemList
impl !Send for MetaItemList
impl !Sync for MetaItemList
impl Unpin for MetaItemList
impl UnwindSafe for MetaItemList
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