#[repr(C)]pub struct HeaderV2 {Show 24 fields
pub magic: [u8; 4],
pub version: u32,
pub crate_name_offset: u32,
pub crate_version_offset: u32,
pub string_pool_offset: u64,
pub string_pool_len: u64,
pub files_offset: u64,
pub files_count: u32,
pub unit_key_offset: u32,
pub defs_offset: u64,
pub defs_count: u32,
pub generation_offset: u32,
pub defs_by_hash_offset: u64,
pub defs_by_hash_count: u32,
pub _pad2: u32,
pub refs_offset: u64,
pub refs_count: u32,
pub _pad3: u32,
pub refs_by_target_offset: u64,
pub refs_by_target_count: u32,
pub _pad4: u32,
pub types_offset: u64,
pub types_count: u32,
pub _pad5: u32,
}Expand description
Fixed-size header for version 2 .ridx files (128 bytes).
Fields§
§magic: [u8; 4]§version: u32§crate_name_offset: u32§crate_version_offset: u32§string_pool_offset: u64§string_pool_len: u64§files_offset: u64§files_count: u32§unit_key_offset: u32§defs_offset: u64§defs_count: u32§generation_offset: u32§defs_by_hash_offset: u64§defs_by_hash_count: u32§_pad2: u32§refs_offset: u64§refs_count: u32§_pad3: u32§refs_by_target_offset: u64§refs_by_target_count: u32§_pad4: u32§types_offset: u64§types_count: u32§_pad5: u32Implementations§
Trait Implementations§
impl Copy for HeaderV2
impl Eq for HeaderV2
impl StructuralPartialEq for HeaderV2
Auto Trait Implementations§
impl Forget for HeaderV2
impl Freeze for HeaderV2
impl Move for HeaderV2
impl RefUnwindSafe for HeaderV2
impl Send for HeaderV2
impl Sync for HeaderV2
impl Unpin for HeaderV2
impl UnsafeUnpin for HeaderV2
impl UnwindSafe for HeaderV2
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