pub struct FieldData {
pub name: String,
pub type_info: NonNull<TypeData>,
pub offset: u16,
}Expand description
A linked version of a struct field.
Fields§
§name: StringThe field’s name
type_info: NonNull<TypeData>The field’s type
offset: u16The field’s offset
Trait Implementations§
impl Eq for FieldData
impl StructuralPartialEq for FieldData
Auto Trait Implementations§
impl Freeze for FieldData
impl !RefUnwindSafe for FieldData
impl !Send for FieldData
impl !Sync for FieldData
impl Unpin for FieldData
impl !UnwindSafe for FieldData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more