#[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 duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AddressingModel
Source§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
Source§fn eq(&self, other: &AddressingModel) -> bool
fn eq(&self, other: &AddressingModel) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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