pub struct MetaList {
pub name: Option<Path>,
pub paren: Option<Paren>,
pub list: Punctuated<MetaValue, Comma>,
}Expand description
A meta list.
Use this as the “entrypoint” of your attribute proc macro.
Fields§
§name: Option<Path>Can be None if this is the root list.
paren: Option<Paren>Can be None if this is the root list.
list: Punctuated<MetaValue, Comma>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Send for MetaList
impl !Sync for MetaList
impl Freeze for MetaList
impl RefUnwindSafe for MetaList
impl Unpin for MetaList
impl UnsafeUnpin for MetaList
impl UnwindSafe for MetaList
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