pub struct InvalidBits<Base: Unsigned>(pub Base);Expand description
Represents an invalid bit pattern for a field with a custom representation.
This is returned as the error type for the getters of such fields.
Tuple Fields§
§0: BaseTrait Implementations§
Auto Trait Implementations§
impl<Base> Freeze for InvalidBits<Base>where
Base: Freeze,
impl<Base> RefUnwindSafe for InvalidBits<Base>where
Base: RefUnwindSafe,
impl<Base> Send for InvalidBits<Base>where
Base: Send,
impl<Base> Sync for InvalidBits<Base>where
Base: Sync,
impl<Base> Unpin for InvalidBits<Base>where
Base: Unpin,
impl<Base> UnsafeUnpin for InvalidBits<Base>where
Base: UnsafeUnpin,
impl<Base> UnwindSafe for InvalidBits<Base>where
Base: 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