#[repr(C)]pub struct Entry {
pub prev: *mut Entry,
pub next: *mut Entry,
pub pointer: Pointer,
}Fields§
§prev: *mut Entry§next: *mut Entry§pointer: PointerImplementations§
Trait Implementations§
Source§impl Bytes<Origin, Origin> for Entry
impl Bytes<Origin, Origin> for Entry
const BYTES_SIZE: usize
const BYTES_ALIGN: usize
fn primitive_load_size(&self) -> usize
fn to_bytes(&self, endianness: bool) -> [u8; 24]
fn from_bytes(bytes: [u8; 24], 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 Entry
impl Copy for Entry
Source§impl LinkedEntry for Entry
impl LinkedEntry for Entry
Source§impl NonPrimitive<Origin> for Entry
impl NonPrimitive<Origin> for Entry
const IS_PRIMITIVE: bool = false
Auto Trait Implementations§
impl !Send for Entry
impl !Sync for Entry
impl Forget for Entry
impl Freeze for Entry
impl Move for Entry
impl RefUnwindSafe for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entry
impl UnwindSafe for Entry
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