Struct MetaList
struct MetaList { ... }
A structured list within an attribute, like derive(Copy, Clone).
Fields
path: Pathdelimiter: MacroDelimitertokens: TokenStream
Implementations
impl MetaList
fn parse_args<T: Parse>(self: &Self) -> Result<T>fn parse_args_with<F: Parser>(self: &Self, parser: F) -> Result<<F as >::Output>fn parse_nested_meta<impl FnMut(ParseNestedMeta) -> Result<()>: FnMut(ParseNestedMeta<'_>) -> Result<()>>(self: &Self, logic: impl FnMut(ParseNestedMeta<'_>) -> Result<()>) -> Result<()>
impl Clone for MetaList
fn clone(self: &Self) -> Self
impl Debug for MetaList
fn fmt(self: &Self, formatter: &mut Formatter<'_>) -> Result
impl Eq for MetaList
impl Freeze for MetaList
impl Hash for MetaList
fn hash<H>(self: &Self, state: &mut H) where H: Hasher
impl Parse for MetaList
fn parse(input: ParseStream<'_>) -> Result<Self>
impl PartialEq for MetaList
fn eq(self: &Self, other: &Self) -> bool
impl RefUnwindSafe for MetaList
impl Send for MetaList
impl Sync for MetaList
impl ToTokens for MetaList
fn to_tokens(self: &Self, tokens: &mut TokenStream)
impl Unpin for MetaList
impl UnsafeUnpin for MetaList
impl UnwindSafe for MetaList
impl<T> Any for MetaList
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for MetaList
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for MetaList
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for MetaList
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for MetaList
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Spanned for MetaList
fn span(self: &Self) -> Span
impl<T> ToOwned for MetaList
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for MetaList
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for MetaList
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for MetaList
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>