Enum mycelium_bitfield::example::TestEnum
source · #[repr(u8)]pub enum TestEnum {
Foo = 0,
Bar = 1,
Baz = 2,
Qux = 3,
}
Available on
trace_macros
only.Expand description
An example enum type implementing FromBits
.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for TestEnum
impl Send for TestEnum
impl Sync for TestEnum
impl Unpin for TestEnum
impl UnwindSafe for TestEnum
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