#[repr(u8)]pub enum AddressMode {
NoAddress = 0,
Reserved = 1,
Short = 2,
Extended = 3,
}
Variants§
Trait Implementations§
Source§impl Clone for AddressMode
impl Clone for AddressMode
Source§fn clone(&self) -> AddressMode
fn clone(&self) -> AddressMode
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 AddressMode
impl Debug for AddressMode
Source§impl Default for AddressMode
impl Default for AddressMode
Source§fn default() -> AddressMode
fn default() -> AddressMode
Returns the “default value” for a type. Read more
Source§impl From<AddressMode> for u8
impl From<AddressMode> for u8
Source§fn from(value: AddressMode) -> u8
fn from(value: AddressMode) -> u8
Converts to this type from the input type.
Source§impl TryFrom<u8> for AddressMode
impl TryFrom<u8> for AddressMode
impl Copy for AddressMode
Auto Trait Implementations§
impl Freeze for AddressMode
impl RefUnwindSafe for AddressMode
impl Send for AddressMode
impl Sync for AddressMode
impl Unpin for AddressMode
impl UnwindSafe for AddressMode
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