#[repr(u32)]pub enum AddressingModel {
Logical = 0,
Physical32 = 1,
Physical64 = 2,
}
Variants§
Implementations§
Source§impl AddressingModel
impl AddressingModel
pub fn from(val: u32) -> Option<AddressingModel>
Trait Implementations§
Source§impl Clone for AddressingModel
impl Clone for AddressingModel
Source§fn clone(&self) -> AddressingModel
fn clone(&self) -> AddressingModel
Returns a copy 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 AddressingModel
impl Debug for AddressingModel
Source§impl Hash for AddressingModel
impl Hash for AddressingModel
Source§impl PartialEq for AddressingModel
impl PartialEq for AddressingModel
impl Copy for AddressingModel
impl StructuralPartialEq for AddressingModel
Auto Trait Implementations§
impl Freeze for AddressingModel
impl RefUnwindSafe for AddressingModel
impl Send for AddressingModel
impl Sync for AddressingModel
impl Unpin for AddressingModel
impl UnwindSafe for AddressingModel
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