Struct nibble::pair::U4HiCell
[−]
[src]
#[repr(C)]pub struct U4HiCell { /* fields omitted */ }
A cell for mutating a high-order nibble.
Trait Implementations
impl Clone for U4HiCell
[src]
fn clone(&self) -> U4HiCell
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl U4Cell for U4HiCell
[src]
fn get_hi(&self) -> u4hi
[src]
Gets a high-order version of the nibble in this cell.
fn get_lo(&self) -> u4lo
[src]
Gets a low-order version of the nibble in this cell.
fn set_from_hi(&self, hi: u4hi)
[src]
Sets the value of the nibble in this cell, given a high-order nibble.
fn set_from_lo(&self, lo: u4lo)
[src]
Sets the value of the nibble in this cell, given a low-order nibble.
fn set<T: u4>(&self, nib: T)
[src]
Sets the value of the nibble in this cell, given a generic nibble. Read more
fn swap(&self, nib: &U4Cell)
[src]
Swaps the nibble with the value of another nibble.