pub struct TypedField<T: PaddingBane> {
pub raw: Field,
pub sub: T::Fields,
}
Expand description
Field information. Enough to fill padding bytes between fields and inside the fields.
Fields§
§raw: Field
§sub: T::Fields
Trait Implementations§
Source§impl<T: Clone + PaddingBane> Clone for TypedField<T>
impl<T: Clone + PaddingBane> Clone for TypedField<T>
Source§fn clone(&self) -> TypedField<T>
fn clone(&self) -> TypedField<T>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl<T: Copy + PaddingBane> Copy for TypedField<T>
Auto Trait Implementations§
impl<T> Freeze for TypedField<T>
impl<T> RefUnwindSafe for TypedField<T>
impl<T> Send for TypedField<T>
impl<T> Sync for TypedField<T>
impl<T> Unpin for TypedField<T>
impl<T> UnwindSafe for TypedField<T>
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