pub struct CompoundField {
pub name: String,
pub offset: usize,
pub size: usize,
pub kind: CompoundMemberKind,
}Expand description
One member of a compound datatype.
Fields§
§name: StringField name from the datatype message.
offset: usizeByte offset within the compound element.
size: usizeField size in bytes.
kind: CompoundMemberKindSimplified member class for introspection (not a full recursive tree).
Trait Implementations§
Source§impl Clone for CompoundField
impl Clone for CompoundField
Source§impl Debug for CompoundField
impl Debug for CompoundField
impl Eq for CompoundField
Source§impl PartialEq for CompoundField
impl PartialEq for CompoundField
impl StructuralPartialEq for CompoundField
Auto Trait Implementations§
impl Freeze for CompoundField
impl RefUnwindSafe for CompoundField
impl Send for CompoundField
impl Sync for CompoundField
impl Unpin for CompoundField
impl UnsafeUnpin for CompoundField
impl UnwindSafe for CompoundField
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