pub enum Shift {
N(usize),
Auto,
}Variants§
Trait Implementations§
Source§impl Arbitrary for Shift
impl Arbitrary for Shift
Source§type Parameters = <usize as Arbitrary>::Parameters
type Parameters = <usize as Arbitrary>::Parameters
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = TupleUnion<((u32, Arc<Map<<usize as Arbitrary>::Strategy, fn(usize) -> Shift>>), (u32, Arc<fn() -> Shift>))>
type Strategy = TupleUnion<((u32, Arc<Map<<usize as Arbitrary>::Strategy, fn(usize) -> Shift>>), (u32, Arc<fn() -> Shift>))>
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
Source§impl Ord for Shift
impl Ord for Shift
Source§impl PartialOrd for Shift
impl PartialOrd for Shift
impl Eq for Shift
impl StructuralPartialEq for Shift
Auto Trait Implementations§
impl Freeze for Shift
impl RefUnwindSafe for Shift
impl Send for Shift
impl Sync for Shift
impl Unpin for Shift
impl UnsafeUnpin for Shift
impl UnwindSafe for Shift
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