pub enum DummyType {
Bytes(usize),
Bits(u8),
}
Expand description
Enum for type of dummy data
Variants§
Bytes(usize)
Dummy data is in bytes, with a defined length
Bits(u8)
Dummy data is in bits, with a defined length
Trait Implementations§
impl StructuralPartialEq for DummyType
Auto Trait Implementations§
impl Freeze for DummyType
impl RefUnwindSafe for DummyType
impl Send for DummyType
impl Sync for DummyType
impl Unpin for DummyType
impl UnwindSafe for DummyType
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