pub struct Ext {
pub type: i8,
pub data: Vec<u8>,
}
Expand description
User-extended type.
Fields§
§type: i8
§data: Vec<u8>
Trait Implementations§
Source§impl Arbitrary for Ext
impl Arbitrary for Ext
Source§type Parameters = (<i8 as Arbitrary>::Parameters, <Vec<u8> as Arbitrary>::Parameters)
type Parameters = (<i8 as Arbitrary>::Parameters, <Vec<u8> as Arbitrary>::Parameters)
The type of parameters that
arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
.Source§type Strategy = Map<(<i8 as Arbitrary>::Strategy, <Vec<u8> as Arbitrary>::Strategy), fn((i8, Vec<u8>)) -> Ext>
type Strategy = Map<(<i8 as Arbitrary>::Strategy, <Vec<u8> as Arbitrary>::Strategy), fn((i8, Vec<u8>)) -> Ext>
The type of
Strategy
used to generate values of type Self
.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
impl Eq for Ext
impl StructuralPartialEq for Ext
Auto Trait Implementations§
impl Freeze for Ext
impl RefUnwindSafe for Ext
impl Send for Ext
impl Sync for Ext
impl Unpin for Ext
impl UnwindSafe for Ext
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