pub struct SectionOffsets {
pub str_blob: u32,
pub regex_blob: u32,
pub str_table: u32,
pub regex_table: u32,
pub node_types: u32,
pub node_fields: u32,
pub trivia: u32,
pub type_defs: u32,
pub type_members: u32,
pub type_names: u32,
pub entrypoints: u32,
pub transitions: u32,
}Expand description
Computed section offsets derived from header counts.
Order: StringBlob → RegexBlob → StringTable → RegexTable → NodeTypes → NodeFields → Trivia → TypeDefs → TypeMembers → TypeNames → Entrypoints → Transitions
Fields§
§str_blob: u32§regex_blob: u32§str_table: u32§regex_table: u32§node_types: u32§node_fields: u32§trivia: u32§type_defs: u32§type_members: u32§type_names: u32§entrypoints: u32§transitions: u32Trait Implementations§
Source§impl Clone for SectionOffsets
impl Clone for SectionOffsets
Source§fn clone(&self) -> SectionOffsets
fn clone(&self) -> SectionOffsets
Returns a duplicate of the value. Read more
1.0.0 · 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 SectionOffsets
impl Debug for SectionOffsets
Source§impl Default for SectionOffsets
impl Default for SectionOffsets
Source§fn default() -> SectionOffsets
fn default() -> SectionOffsets
Returns the “default value” for a type. Read more
Source§impl PartialEq for SectionOffsets
impl PartialEq for SectionOffsets
impl Copy for SectionOffsets
impl Eq for SectionOffsets
impl StructuralPartialEq for SectionOffsets
Auto Trait Implementations§
impl Freeze for SectionOffsets
impl RefUnwindSafe for SectionOffsets
impl Send for SectionOffsets
impl Sync for SectionOffsets
impl Unpin for SectionOffsets
impl UnwindSafe for SectionOffsets
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.