pub enum AllowDeny {
Allow,
Deny,
}Variants§
Trait Implementations§
Source§impl Arbitrary for AllowDeny
impl Arbitrary for AllowDeny
Source§type Parameters = ()
type 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<fn() -> AllowDeny>), (u32, Arc<fn() -> AllowDeny>))>
type Strategy = TupleUnion<((u32, Arc<fn() -> AllowDeny>), (u32, Arc<fn() -> AllowDeny>))>
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 AllowDeny
impl Ord for AllowDeny
Source§impl PartialOrd for AllowDeny
impl PartialOrd for AllowDeny
impl Eq for AllowDeny
impl StructuralPartialEq for AllowDeny
Auto Trait Implementations§
impl Freeze for AllowDeny
impl RefUnwindSafe for AllowDeny
impl Send for AllowDeny
impl Sync for AllowDeny
impl Unpin for AllowDeny
impl UnsafeUnpin for AllowDeny
impl UnwindSafe for AllowDeny
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