#[repr(C)]pub struct Header32 {}Fields§
§e_ident: Identifier§e_type: Half§e_machine: Half§e_version: Word§e_entry: Addr§e_phoff: Off§e_shoff: Off§e_flags: Word§e_ehsize: Half§e_phentsize: Half§e_phnum: Half§e_shentsize: Half§e_shnum: Half§e_shstrndx: HalfTrait Implementations§
Source§impl Bytes<Origin, Origin> for Header32
impl Bytes<Origin, Origin> for Header32
const BYTES_SIZE: usize
const BYTES_ALIGN: usize
fn primitive_load_size(&self) -> usize
fn to_bytes(&self, endianness: bool) -> [u8; 52]
fn from_bytes(bytes: [u8; 52], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes( &self, ) -> [u8; ample::::traits::bytes::Bytes::to_le_bytes::{constant#1}]
fn to_be_bytes( &self, ) -> [u8; ample::::traits::bytes::Bytes::to_be_bytes::{constant#1}]
fn from_le_bytes(
bytes: [u8; ample::::traits::bytes::Bytes::from_le_bytes::{constant#1}],
) -> Selfwhere
Self: Sized,
fn from_be_bytes(
bytes: [u8; ample::::traits::bytes::Bytes::from_be_bytes::{constant#1}],
) -> Selfwhere
Self: Sized,
impl BytesDefault<Origin> for Header32
impl Copy for Header32
Source§impl NonPrimitive<Origin> for Header32
impl NonPrimitive<Origin> for Header32
const IS_PRIMITIVE: bool = false
Auto Trait Implementations§
impl Freeze for Header32
impl RefUnwindSafe for Header32
impl Send for Header32
impl Sync for Header32
impl Unpin for Header32
impl UnsafeUnpin for Header32
impl UnwindSafe for Header32
Blanket Implementations§
Source§impl<T> Allocating<T> for T
impl<T> Allocating<T> for T
Source§fn deallocate(ptr: *mut T, numerosity: usize) -> bool
fn deallocate(ptr: *mut T, numerosity: usize) -> bool
Deallocate an array previously allocated with allocate_array
Source§fn allocate_slice(numerosity: usize) -> &'static mut [T]
fn allocate_slice(numerosity: usize) -> &'static mut [T]
Allocate and initialize a slice
fn allocate(numerosity: usize) -> *mut T
fn deallocate_slice(slice: &mut [T]) -> bool
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