Enum RegisterOrAmode
pub enum RegisterOrAmode {
Register(Register),
Amode(Amode),
}
Variants§
Trait Implementations§
§impl Clone for RegisterOrAmode
impl Clone for RegisterOrAmode
§fn clone(&self) -> RegisterOrAmode
fn clone(&self) -> RegisterOrAmode
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 more§impl Debug for RegisterOrAmode
impl Debug for RegisterOrAmode
§impl From<Amode> for RegisterOrAmode
impl From<Amode> for RegisterOrAmode
§fn from(amode: Amode) -> RegisterOrAmode
fn from(amode: Amode) -> RegisterOrAmode
Converts to this type from the input type.
§impl From<u8> for RegisterOrAmode
impl From<u8> for RegisterOrAmode
§fn from(reg: u8) -> RegisterOrAmode
fn from(reg: u8) -> RegisterOrAmode
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RegisterOrAmode
impl RefUnwindSafe for RegisterOrAmode
impl Send for RegisterOrAmode
impl Sync for RegisterOrAmode
impl Unpin for RegisterOrAmode
impl UnwindSafe for RegisterOrAmode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)