Struct atsamd11c::generic::FieldReader
source · [−]pub struct FieldReader<U, T> { /* private fields */ }
Expand description
Field reader.
Result of the read
methods of fields.
Implementations
sourceimpl<U, T> FieldReader<U, T>where
U: Copy,
impl<U, T> FieldReader<U, T>where
U: Copy,
sourceimpl<FI> FieldReader<bool, FI>
impl<FI> FieldReader<bool, FI>
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, T> RefUnwindSafe for FieldReader<U, T>where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<U, T> Send for FieldReader<U, T>where
T: Send,
U: Send,
impl<U, T> Sync for FieldReader<U, T>where
T: Sync,
U: Sync,
impl<U, T> Unpin for FieldReader<U, T>where
T: Unpin,
U: Unpin,
impl<U, T> UnwindSafe for FieldReader<U, T>where
T: UnwindSafe,
U: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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