[][src]Struct devise::Field

pub struct Field<'f> {
    pub parent: FieldParent<'f>,
    pub field: Derived<'f, Field>,
    pub index: usize,
}

Fields

parent: FieldParent<'f>field: Derived<'f, Field>index: usize

Methods

impl<'f> Field<'f>[src]

pub fn match_ident(self) -> Ident[src]

pub fn accessor(&self) -> TokenStream[src]

Methods from Deref<Target = Derived<'f, Field>>

pub fn builder<F>(&self, f: F) -> TokenStream where
    F: Fn(Field) -> TokenStream
[src]

Trait Implementations

impl<'f> Clone for Field<'f>[src]

impl<'f> Copy for Field<'f>[src]

impl<'f> Debug for Field<'f>[src]

impl<'f> Deref for Field<'f>[src]

type Target = Derived<'f, Field>

The resulting type after dereferencing.

Auto Trait Implementations

impl<'f> !RefUnwindSafe for Field<'f>

impl<'f> !Send for Field<'f>

impl<'f> !Sync for Field<'f>

impl<'f> Unpin for Field<'f>

impl<'f> !UnwindSafe for Field<'f>

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.