Struct p25::bits::Hexbit
[−]
[src]
pub struct Hexbit(_);
Six bits.
Methods
impl Hexbit[src]
pub fn new(bits: u8) -> Hexbit[src]
Construct a new Hexbit with the 6 given bits in the LSB position.
pub fn bits(&self) -> u8[src]
Get the wrapped hexbit, which is guaranteed to have only 6 LSBs.
Trait Implementations
impl Copy for Hexbit[src]
impl Clone for Hexbit[src]
fn clone(&self) -> Hexbit[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 Default for Hexbit[src]
impl Debug for Hexbit[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl PartialEq for Hexbit[src]
fn eq(&self, __arg_0: &Hexbit) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Hexbit) -> bool[src]
This method tests for !=.