[−][src]Trait nibbler::traits::Nib
Required methods
fn ival(&self) -> u8
Returns an unsigned 8-bit integer value.
fn hval(&self) -> &'static str
Returns a hex-dec string.
fn b0(&self) -> bool
Gets the least significant bit, 2^0
fn b1(&self) -> bool
Gets the 2^1 value.
fn b2(&self) -> bool
Gets the 2^2 value.
fn b3(&self) -> bool
Gets the most sigificant bit, 2^3
fn i0(&self) -> u8
Gets the least significant bit, 2^0, as an integer (1 or 0).
fn i1(&self) -> u8
Gets the 2^1 value as an integer (1 or 0).
fn i2(&self) -> u8
Gets the 2^2 value as an integer (1 or 0).
fn i3(&self) -> u8
Gets the most significant bit, 2^3, as an integer (1 or 0).
fn as_bit_str_le(&self) -> String
Gets the bit string, Little Endian, MSBit on left, LSBit on right.
fn as_bit_str_be(&self) -> String
Gets the bit string, Big Endian, LSBit on left, MSBit on right.
Implementors
impl Nib for Nibble
[src]
fn ival(&self) -> u8
[src]
fn hval(&self) -> &'static str
[src]
fn b0(&self) -> bool
[src]
fn b1(&self) -> bool
[src]
fn b2(&self) -> bool
[src]
fn b3(&self) -> bool
[src]
fn i0(&self) -> u8
[src]
fn i1(&self) -> u8
[src]
fn i2(&self) -> u8
[src]
fn i3(&self) -> u8
[src]
fn as_bit_str_le(&self) -> String
[src]
Gets the bit string, Little Endian, MSBit on left, LSBit on right.
fn as_bit_str_be(&self) -> String
[src]
Gets the bit string, Big Endian, LSBit on left, MSBit on right.