pub enum NonexistentBitPos {
Zero,
Thirteen,
Fourteen,
Fifteen,
}
Expand description
While examples usually choose 0 as the non-existent bit position, the index portion of the instruction word (which encodes the quarter and bit position for SKM instructions) stores two bits of quarter number and four bits of bit position, meaning that the possible range of bit positions is 0..=15 (decimal).
Variants§
Trait Implementations§
Source§impl Clone for NonexistentBitPos
impl Clone for NonexistentBitPos
Source§fn clone(&self) -> NonexistentBitPos
fn clone(&self) -> NonexistentBitPos
Returns a duplicate 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 NonexistentBitPos
impl Debug for NonexistentBitPos
Source§impl Hash for NonexistentBitPos
impl Hash for NonexistentBitPos
Source§impl Ord for NonexistentBitPos
impl Ord for NonexistentBitPos
Source§fn cmp(&self, other: &NonexistentBitPos) -> Ordering
fn cmp(&self, other: &NonexistentBitPos) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NonexistentBitPos
impl PartialEq for NonexistentBitPos
Source§impl PartialOrd for NonexistentBitPos
impl PartialOrd for NonexistentBitPos
impl Copy for NonexistentBitPos
impl Eq for NonexistentBitPos
impl StructuralPartialEq for NonexistentBitPos
Auto Trait Implementations§
impl Freeze for NonexistentBitPos
impl RefUnwindSafe for NonexistentBitPos
impl Send for NonexistentBitPos
impl Sync for NonexistentBitPos
impl Unpin for NonexistentBitPos
impl UnwindSafe for NonexistentBitPos
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.