pub enum BitState {
Clear,
Set,
}
Expand description
The state of a bit,
It’s either BitState::Clear
to represent a 0
or BitState::Set
to represent a 1
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BitState
impl RefUnwindSafe for BitState
impl Send for BitState
impl Sync for BitState
impl Unpin for BitState
impl UnwindSafe for BitState
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