[][src]Struct partial_ref::Field

pub struct Field<FieldType: ?Sized>(_);

Type of a part that corresponds to a struct field.

Partial references containing a part of this type provide access to that field.

Trait Implementations

impl<FieldType: ?Sized> PartType for Field<FieldType>[src]

type Ptr = *const FieldType

Type that can be produced from a constant pointer to a reference target.

type PtrMut = *mut FieldType

Type that can be produced from a mutable pointer to a reference target.

Auto Trait Implementations

impl<FieldType: ?Sized> RefUnwindSafe for Field<FieldType> where
    FieldType: RefUnwindSafe

impl<FieldType: ?Sized> Send for Field<FieldType> where
    FieldType: Send

impl<FieldType: ?Sized> Sync for Field<FieldType> where
    FieldType: Sync

impl<FieldType: ?Sized> Unpin for Field<FieldType> where
    FieldType: Unpin

impl<FieldType: ?Sized> UnwindSafe for Field<FieldType> where
    FieldType: UnwindSafe

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<Reference, Outer, OuterFieldType, Inner> HasPart<Nested<Outer, Inner>> for Reference where
    Inner: Part,
    Outer: Part<PartType = Field<OuterFieldType>>,
    OuterFieldType: HasPart<Inner, RawTarget = OuterFieldType> + PartialRefTarget + ?Sized,
    Reference: HasPart<Outer> + ?Sized
[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.