[][src]Enum evitable_syn_meta_ext::ast::Fields

pub enum Fields<T> {
    Named(Vec<(Ident, T)>),
    Unnamed(Vec<(usize, T)>),
    Unit,
}

Variants

Named(Vec<(Ident, T)>)Unnamed(Vec<(usize, T)>)Unit

Methods

impl<T> Fields<T>[src]

Important traits for FieldsIter<'a, T>
pub fn iter<'a>(&'a self) -> FieldsIter<'a, T>[src]

Trait Implementations

impl<T> MapFields<T> for Fields<T>[src]

Auto Trait Implementations

impl<T> Unpin for Fields<T> where
    T: Unpin

impl<T> !Sync for Fields<T>

impl<T> !Send for Fields<T>

impl<T> UnwindSafe for Fields<T> where
    T: UnwindSafe

impl<T> !RefUnwindSafe for Fields<T>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]