pub struct ClassLayoutRow {
pub packing_size: u16,
pub class_size: u32,
pub parent: u32,
}Expand description
ClassLayout table row (0x0F).
Fields§
§packing_size: u16Packing size.
class_size: u32Class size in bytes.
parent: u32TypeDef index.
Implementations§
Source§impl ClassLayoutRow
impl ClassLayoutRow
pub fn parse(reader: &mut Reader<'_>, ctx: &TableContext) -> Result<Self>
pub fn write(&self, writer: &mut Writer, ctx: &TableContext)
Trait Implementations§
Source§impl Clone for ClassLayoutRow
impl Clone for ClassLayoutRow
Source§fn clone(&self) -> ClassLayoutRow
fn clone(&self) -> ClassLayoutRow
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClassLayoutRow
impl Debug for ClassLayoutRow
Source§impl Default for ClassLayoutRow
impl Default for ClassLayoutRow
Source§fn default() -> ClassLayoutRow
fn default() -> ClassLayoutRow
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ClassLayoutRow
impl RefUnwindSafe for ClassLayoutRow
impl Send for ClassLayoutRow
impl Sync for ClassLayoutRow
impl Unpin for ClassLayoutRow
impl UnsafeUnpin for ClassLayoutRow
impl UnwindSafe for ClassLayoutRow
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