pub struct R<U, M> { /* fields omitted */ }
Expand description
impl<U, M> R<U, M> where
U: Copy,
pub fn new(bits: U) -> Self
Create new instance of reader
Read raw bits from register/bitfield
pub fn bit(&self) -> bool
Returns value of the bit.
Returns true
if the bit is clear (0).
Returns true
is the bit is set (1).
fn eq(&self, other: &FI) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.