pub enum RegionSize {
Mb2,
Mb4,
Mb8,
Mb16,
Mb32,
Mb64,
Mb128,
}Expand description
Size of a memory-remap region.
This also determines the address alignment required for RegionConfig::base_address and
RegionConfig::remap_address: both must be aligned to the region size.
Variants§
Trait Implementations§
Source§impl Clone for RegionSize
impl Clone for RegionSize
Source§fn clone(&self) -> RegionSize
fn clone(&self) -> RegionSize
Returns a duplicate 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 Debug for RegionSize
impl Debug for RegionSize
Source§impl Format for RegionSize
impl Format for RegionSize
Source§impl PartialEq for RegionSize
impl PartialEq for RegionSize
impl Copy for RegionSize
impl Eq for RegionSize
impl StructuralPartialEq for RegionSize
Auto Trait Implementations§
impl Freeze for RegionSize
impl RefUnwindSafe for RegionSize
impl Send for RegionSize
impl Sync for RegionSize
impl Unpin for RegionSize
impl UnwindSafe for RegionSize
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