pub(crate) struct RegisterId(u8);Expand description
Identify one register (R0 - R7) in HashX’s virtual machine
Tuple Fields§
§0: u8Implementations§
Source§impl RegisterId
impl RegisterId
Trait Implementations§
Source§impl Clone for RegisterId
impl Clone for RegisterId
Source§fn clone(&self) -> RegisterId
fn clone(&self) -> RegisterId
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 moreSource§impl Debug for RegisterId
impl Debug for RegisterId
Source§impl PartialEq for RegisterId
impl PartialEq for RegisterId
Source§fn eq(&self, other: &RegisterId) -> bool
fn eq(&self, other: &RegisterId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RegisterMapper for RegisterId
impl RegisterMapper for RegisterId
impl Copy for RegisterId
impl Eq for RegisterId
impl StructuralPartialEq for RegisterId
Auto Trait Implementations§
impl Freeze for RegisterId
impl RefUnwindSafe for RegisterId
impl Send for RegisterId
impl Sync for RegisterId
impl Unpin for RegisterId
impl UnsafeUnpin for RegisterId
impl UnwindSafe for RegisterId
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