pub struct Field<FieldType: ?Sized>(/* private fields */);
Expand description
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§
Auto Trait Implementations§
impl<FieldType> Freeze for Field<FieldType>where
FieldType: ?Sized,
impl<FieldType> RefUnwindSafe for Field<FieldType>where
FieldType: RefUnwindSafe + ?Sized,
impl<FieldType> Send for Field<FieldType>
impl<FieldType> Sync for Field<FieldType>
impl<FieldType> Unpin for Field<FieldType>
impl<FieldType> UnwindSafe for Field<FieldType>where
FieldType: UnwindSafe + ?Sized,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more