#[non_exhaustive]pub struct ProgramParts {Show 13 fields
pub is_64_bit: bool,
pub ro_data_size: u32,
pub rw_data_size: u32,
pub stack_size: u32,
pub ro_data: ArcBytes,
pub rw_data: ArcBytes,
pub code_and_jump_table: ArcBytes,
pub import_offsets: ArcBytes,
pub import_symbols: ArcBytes,
pub exports: ArcBytes,
pub debug_strings: ArcBytes,
pub debug_line_program_ranges: ArcBytes,
pub debug_line_programs: ArcBytes,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.is_64_bit: bool
§ro_data_size: u32
§rw_data_size: u32
§stack_size: u32
§ro_data: ArcBytes
§rw_data: ArcBytes
§code_and_jump_table: ArcBytes
§import_offsets: ArcBytes
§import_symbols: ArcBytes
§exports: ArcBytes
§debug_strings: ArcBytes
§debug_line_program_ranges: ArcBytes
§debug_line_programs: ArcBytes
Implementations§
Source§impl ProgramParts
impl ProgramParts
pub fn from_bytes(blob: ArcBytes) -> Result<Self, ProgramParseError>
Trait Implementations§
Source§impl Clone for ProgramParts
impl Clone for ProgramParts
Source§fn clone(&self) -> ProgramParts
fn clone(&self) -> ProgramParts
Returns a copy 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 Default for ProgramParts
impl Default for ProgramParts
Source§fn default() -> ProgramParts
fn default() -> ProgramParts
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProgramParts
impl RefUnwindSafe for ProgramParts
impl Send for ProgramParts
impl Sync for ProgramParts
impl Unpin for ProgramParts
impl UnwindSafe for ProgramParts
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