[][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> Send for Field<FieldType> where
    FieldType: Send

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

Blanket Implementations

impl<Reference, Outer, OuterFieldType, Inner> HasPart 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 for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.