[][src]Struct structural::field_traits::GetFieldMutRefFn

#[repr(transparent)]
pub struct GetFieldMutRefFn<FieldName, FieldTy> {
    pub func: unsafe fn(_: MutRef<()>, _: Self) -> &mut FieldTy,
    // some fields omitted
}

Fields

func: unsafe fn(_: MutRef<()>, _: Self) -> &mut FieldTy

Methods

impl<FieldName, FieldTy> GetFieldMutRefFn<FieldName, FieldTy>[src]

pub fn new(func: unsafe fn(_: MutRef<()>, _: Self) -> &mut FieldTy) -> Self[src]

Trait Implementations

impl<FieldName, FieldTy> Clone for GetFieldMutRefFn<FieldName, FieldTy>[src]

impl<FieldName, FieldTy> Copy for GetFieldMutRefFn<FieldName, FieldTy>[src]

Auto Trait Implementations

impl<FieldName, FieldTy> Send for GetFieldMutRefFn<FieldName, FieldTy> where
    FieldName: Send

impl<FieldName, FieldTy> Sync for GetFieldMutRefFn<FieldName, FieldTy> where
    FieldName: Sync

impl<FieldName, FieldTy> Unpin for GetFieldMutRefFn<FieldName, FieldTy> where
    FieldName: Unpin

impl<FieldName, FieldTy> UnwindSafe for GetFieldMutRefFn<FieldName, FieldTy> where
    FieldName: UnwindSafe

impl<FieldName, FieldTy> RefUnwindSafe for GetFieldMutRefFn<FieldName, FieldTy> where
    FieldName: RefUnwindSafe

Blanket Implementations

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

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

impl<T> From<T> for 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.

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

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

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

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

type Type = T

The same type as Self. Read more

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

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

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

The error type returned when the conversion fails.