pub struct StateTableParts {
pub n_classes: u32,
pub class_table_offset: u32,
pub state_array_offset: u32,
pub entry_table_offset: u32,
}Expand description
Pre-resolved byte offsets of an ExtendedStateTable’s components, relative to the table start. Lifetime-free, so callers can cache it and rebuild the table with ExtendedStateTable::from_parts without re-reading and re-validating the header.
Fields§
§n_classes: u32§class_table_offset: u32§state_array_offset: u32§entry_table_offset: u32Implementations§
Trait Implementations§
Source§impl Clone for StateTableParts
impl Clone for StateTableParts
Source§fn clone(&self) -> StateTableParts
fn clone(&self) -> StateTableParts
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 StateTableParts
impl Debug for StateTableParts
Source§impl Default for StateTableParts
impl Default for StateTableParts
Source§fn default() -> StateTableParts
fn default() -> StateTableParts
Returns the “default value” for a type. Read more
impl Copy for StateTableParts
Auto Trait Implementations§
impl Freeze for StateTableParts
impl RefUnwindSafe for StateTableParts
impl Send for StateTableParts
impl Sync for StateTableParts
impl Unpin for StateTableParts
impl UnsafeUnpin for StateTableParts
impl UnwindSafe for StateTableParts
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