pub struct Arch {}Trait Implementations§
Source§impl Bytes<Origin, Origin> for Arch
impl Bytes<Origin, Origin> for Arch
const BYTES_SIZE: usize = 0usize
const BYTES_ALIGN: usize = 1usize
fn to_bytes(&self, endianness: bool) -> [u8; 0]
fn from_bytes(bytes: [u8; 0], endianness: bool) -> Self
fn from_bytes_pointer(bytes_pointer: *const u8, endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
fn from_be_bytes(bytes: [u8; { _ }]) -> Selfwhere
Self: Sized,
Source§impl Callable for Arch
impl Callable for Arch
fn _syscall0(n: usize) -> Result
fn _syscall1(n: usize, a1: usize) -> Result
fn _syscall2(n: usize, a1: usize, a2: usize) -> Result
fn _syscall3(n: usize, a1: usize, a2: usize, a3: usize) -> Result
fn _syscall4(n: usize, a1: usize, a2: usize, a3: usize, a4: usize) -> Result
fn _syscall5( n: usize, a1: usize, a2: usize, a3: usize, a4: usize, a5: usize, ) -> Result
fn _syscall6( n: usize, a1: usize, a2: usize, a3: usize, a4: usize, a5: usize, a6: usize, ) -> Result
fn syscall0(n: usize) -> Result
fn syscall1(n: usize, a1: usize) -> Result
fn syscall2(n: usize, a1: usize, a2: usize) -> Result
fn syscall3(n: usize, a1: usize, a2: usize, a3: usize) -> Result
fn syscall4(n: usize, a1: usize, a2: usize, a3: usize, a4: usize) -> Result
fn syscall5( n: usize, a1: usize, a2: usize, a3: usize, a4: usize, a5: usize, ) -> Result
fn syscall6( n: usize, a1: usize, a2: usize, a3: usize, a4: usize, a5: usize, a6: usize, ) -> Result
Source§impl NonPrimitive<Origin> for Arch
impl NonPrimitive<Origin> for Arch
const IS_PRIMITIVE: bool = false
impl Copy for Arch
Auto Trait Implementations§
impl Freeze for Arch
impl RefUnwindSafe for Arch
impl Send for Arch
impl Sync for Arch
impl Unpin for Arch
impl UnwindSafe for Arch
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