Struct arret_runtime::class_map::ClassRef[][src]

#[repr(transparent)]
pub struct ClassRef<'a> { /* fields omitted */ }

Type information for a class

Implementations

impl<'a> ClassRef<'a>[src]

pub fn is_empty(self) -> bool[src]

Returns if the type contains no fields

pub fn field_iter(self) -> FieldIterator<'a>

Notable traits for FieldIterator<'a>

impl<'a> Iterator for FieldIterator<'a> type Item = Field;
[src]

Returns an iterator over the class’ fields

Trait Implementations

impl<'a> Clone for ClassRef<'a>[src]

impl<'a> Copy for ClassRef<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for ClassRef<'a>

impl<'a> !Send for ClassRef<'a>

impl<'a> !Sync for ClassRef<'a>

impl<'a> Unpin for ClassRef<'a>

impl<'a> UnwindSafe for ClassRef<'a>

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.