[][src]Struct dioptre::Field

pub struct Field<S, F> { /* fields omitted */ }

A handle to a field in struct S of type F.

These should be generated by #[derive(Fields)].

Methods

impl<S, F> Field<S, F>[src]

pub const unsafe fn new(index: usize) -> Field<S, F>[src]

pub const fn index(self) -> usize[src]

Auto Trait Implementations

impl<S, F> !Send for Field<S, F>

impl<S, F> !Sync for Field<S, F>

impl<S, F> Unpin for Field<S, 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, 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.