pub struct Bit { /* private fields */ }Expand description
A type modeling one bit.
Implementations§
Trait Implementations§
Source§impl DefaultDecode<bool> for Bit
impl DefaultDecode<bool> for Bit
Source§fn default_decode<D: CANRead>(&self, data: &D) -> T
fn default_decode<D: CANRead>(&self, data: &D) -> T
Tries to decode a value. If the data is not decodable, a default value is returned.
Otherwise, the decoded value is returned.
impl StructuralPartialEq for Bit
Auto Trait Implementations§
impl Freeze for Bit
impl RefUnwindSafe for Bit
impl Send for Bit
impl Sync for Bit
impl Unpin for Bit
impl UnwindSafe for Bit
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