[−][src]Struct partial_ref::Field
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,
FieldType: RefUnwindSafe,
impl<FieldType: ?Sized> Send for Field<FieldType> where
FieldType: Send,
FieldType: Send,
impl<FieldType: ?Sized> Sync for Field<FieldType> where
FieldType: Sync,
FieldType: Sync,
impl<FieldType: ?Sized> Unpin for Field<FieldType> where
FieldType: Unpin,
FieldType: Unpin,
impl<FieldType: ?Sized> UnwindSafe for Field<FieldType> where
FieldType: UnwindSafe,
FieldType: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[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]
Inner: Part,
Outer: Part<PartType = Field<OuterFieldType>>,
OuterFieldType: HasPart<Inner, RawTarget = OuterFieldType> + PartialRefTarget + ?Sized,
Reference: HasPart<Outer> + ?Sized,
unsafe fn part_ptr(
*const <Reference as PartialRefTarget>::RawTarget
) -> <<Inner as Part>::PartType as PartType>::Ptr
[src]
*const <Reference as PartialRefTarget>::RawTarget
) -> <<Inner as Part>::PartType as PartType>::Ptr
unsafe fn part_ptr_mut(
*mut <Reference as PartialRefTarget>::RawTarget
) -> <<Inner as Part>::PartType as PartType>::PtrMut
[src]
*mut <Reference as PartialRefTarget>::RawTarget
) -> <<Inner as Part>::PartType as PartType>::PtrMut
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,