pub enum Quarter {
Q1 = 0,
Q2 = 1,
Q3 = 2,
Q4 = 3,
}
Expand description
Quarter
identifies a quarter within a TX-2 word. Q1 is the
least-significant 9 bits and Q4 is the most-significant 9 bits.
Variants§
Trait Implementations§
Source§impl From<Quarter> for u8
Convert the Quarter
enumeration value into the position of that
quarter (counting from the least-significant end of the 36-bit
word).
impl From<Quarter> for u8
Convert the Quarter
enumeration value into the position of that
quarter (counting from the least-significant end of the 36-bit
word).
Source§impl Ord for Quarter
impl Ord for Quarter
Source§impl PartialOrd for Quarter
impl PartialOrd for Quarter
impl Copy for Quarter
impl Eq for Quarter
impl StructuralPartialEq for Quarter
Auto Trait Implementations§
impl Freeze for Quarter
impl RefUnwindSafe for Quarter
impl Send for Quarter
impl Sync for Quarter
impl Unpin for Quarter
impl UnwindSafe for Quarter
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.