pub struct StructDescriptor {
pub fields: Vec<FieldDescriptor>,
}Expand description
Defines field layout in a struct pointed by Type::PtrToStruct.
Fields§
§fields: Vec<FieldDescriptor>The list of fields.
Trait Implementations§
Source§impl Debug for StructDescriptor
impl Debug for StructDescriptor
Source§impl Default for StructDescriptor
impl Default for StructDescriptor
Source§fn default() -> StructDescriptor
fn default() -> StructDescriptor
Returns the “default value” for a type. Read more
Source§impl PartialEq for StructDescriptor
impl PartialEq for StructDescriptor
Source§fn eq(&self, other: &StructDescriptor) -> bool
fn eq(&self, other: &StructDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StructDescriptor
Auto Trait Implementations§
impl Freeze for StructDescriptor
impl RefUnwindSafe for StructDescriptor
impl Send for StructDescriptor
impl Sync for StructDescriptor
impl Unpin for StructDescriptor
impl UnsafeUnpin for StructDescriptor
impl UnwindSafe for StructDescriptor
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