Struct w806_pac::generic::FieldReader
source · [−]pub struct FieldReader<U> { /* private fields */ }
Expand description
Field reader.
Result of the read
methods of fields.
Implementations
sourceimpl<U> FieldReader<U> where
U: Copy,
impl<U> FieldReader<U> where
U: Copy,
sourceimpl FieldReader<bool>
impl FieldReader<bool>
sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0).
sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1).
Trait Implementations
Auto Trait Implementations
impl<U> RefUnwindSafe for FieldReader<U> where
U: RefUnwindSafe,
impl<U> Send for FieldReader<U> where
U: Send,
impl<U> Sync for FieldReader<U> where
U: Sync,
impl<U> Unpin for FieldReader<U> where
U: Unpin,
impl<U> UnwindSafe for FieldReader<U> where
U: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more