#[repr(u8)]pub enum Base {
OFFSET = 0,
BASE1 = 1,
BASE2 = 2,
_RESERVED_3 = 3,
}Variants§
OFFSET = 0
Is offset from 0 in host memory or IO space.
BASE1 = 1
Uses Base1 offset in host memory (see MAPBASE reg)
BASE2 = 2
Uses Base2 offset in host memory (see MAPBASE reg)
_RESERVED_3 = 3
Implementations§
Trait Implementations§
Source§impl Ord for Base
impl Ord for Base
Source§impl PartialOrd for Base
impl PartialOrd for Base
impl Copy for Base
impl Eq for Base
impl StructuralPartialEq for Base
Auto Trait Implementations§
impl Freeze for Base
impl RefUnwindSafe for Base
impl Send for Base
impl Sync for Base
impl Unpin for Base
impl UnwindSafe for Base
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