pub struct BitSelector {
pub quarter: Quarter,
pub bitpos: BitPos,
}
Fields§
§quarter: Quarter
§bitpos: BitPos
bitpos
values 1 to 9 inclusive are normal bit positions in a
quarter. 0 is a valid value but not a valid bit (so a default
will be used when SKM tests bit 0). 10 is the meta bit. 11
is the parity bit stored in memory. 12 is the parity value
computed from the bits stored in memory.
Implementations§
Source§impl BitSelector
impl BitSelector
Trait Implementations§
Source§impl Clone for BitSelector
impl Clone for BitSelector
Source§fn clone(&self) -> BitSelector
fn clone(&self) -> BitSelector
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 BitSelector
impl Debug for BitSelector
Source§impl Display for BitSelector
impl Display for BitSelector
Source§impl Hash for BitSelector
impl Hash for BitSelector
Source§impl Ord for BitSelector
impl Ord for BitSelector
Source§fn cmp(&self, other: &BitSelector) -> Ordering
fn cmp(&self, other: &BitSelector) -> 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 BitSelector
impl PartialEq for BitSelector
Source§impl PartialOrd for BitSelector
impl PartialOrd for BitSelector
impl Copy for BitSelector
impl Eq for BitSelector
impl StructuralPartialEq for BitSelector
Auto Trait Implementations§
impl Freeze for BitSelector
impl RefUnwindSafe for BitSelector
impl Send for BitSelector
impl Sync for BitSelector
impl Unpin for BitSelector
impl UnwindSafe for BitSelector
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.