pub type umem = u64;
Expand description
The largest target memory type The following core rule is defined for these memory types:
PAGE_SIZE < usize <= umem
Where PAGE_SIZE
is any lowest granularity page size, usize
is the standard size type, and
umem
is memflow’s memory size type.
This means that usize
can always be safely cast to umem
, while anything to do with page
sizes can be cast to umem
safely,
Trait Implementations§
source§impl SplitAtIndex for umem
impl SplitAtIndex for umem
source§fn split_at(self, idx: umem) -> (Option<Self>, Option<Self>)
fn split_at(self, idx: umem) -> (Option<Self>, Option<Self>)
Split data at a given index Read more
source§unsafe fn split_at_mut(&mut self, idx: umem) -> (Option<Self>, Option<Self>)
unsafe fn split_at_mut(&mut self, idx: umem) -> (Option<Self>, Option<Self>)
Split data using mutable reference Read more
source§fn split_inclusive_at(self, idx: umem) -> (Option<Self>, Option<Self>)where
Self: Sized,
fn split_inclusive_at(self, idx: umem) -> (Option<Self>, Option<Self>)where
Self: Sized,
Inclusive version of
split_at
Read more