Struct proc_bitfield::example::support::U8WithParity
source · [−]Expand description
Wrapper around u8
with infallible conversions both ways.
Fields
raw: u8
has_even_set_bits: bool
Trait Implementations
sourceimpl From<U8WithParity> for u8
impl From<U8WithParity> for u8
sourcefn from(other: U8WithParity) -> Self
fn from(other: U8WithParity) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for U8WithParity
impl Send for U8WithParity
impl Sync for U8WithParity
impl Unpin for U8WithParity
impl UnwindSafe for U8WithParity
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