pub struct FieldReader<U, T> { /* private fields */ }
Expand description
Field reader.
Result of the read
methods of fields.
Implementations§
Source§impl<U, T> FieldReader<U, T>where
U: Copy,
impl<U, T> FieldReader<U, T>where
U: Copy,
Source§impl<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§
Source§impl<U, T, FI> PartialEq<FI> for FieldReader<U, T>
impl<U, T, FI> PartialEq<FI> for FieldReader<U, T>
Auto Trait Implementations§
impl<U, T> Freeze for FieldReader<U, T>where
U: Freeze,
impl<U, T> RefUnwindSafe for FieldReader<U, T>where
U: RefUnwindSafe,
T: RefUnwindSafe,
impl<U, T> Send for FieldReader<U, T>
impl<U, T> Sync for FieldReader<U, T>
impl<U, T> Unpin for FieldReader<U, T>
impl<U, T> UnwindSafe for FieldReader<U, T>where
U: UnwindSafe,
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more