pub enum AllowDenyChildren {
Allow,
Deny,
Children,
}Variants§
Trait Implementations§
Source§impl Arbitrary for AllowDenyChildren
impl Arbitrary for AllowDenyChildren
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() -> AllowDenyChildren>), (u32, Arc<fn() -> AllowDenyChildren>), (u32, Arc<fn() -> AllowDenyChildren>))>
type Strategy = TupleUnion<((u32, Arc<fn() -> AllowDenyChildren>), (u32, Arc<fn() -> AllowDenyChildren>), (u32, Arc<fn() -> AllowDenyChildren>))>
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 Clone for AllowDenyChildren
impl Clone for AllowDenyChildren
Source§fn clone(&self) -> AllowDenyChildren
fn clone(&self) -> AllowDenyChildren
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AllowDenyChildren
impl Debug for AllowDenyChildren
Source§impl Hash for AllowDenyChildren
impl Hash for AllowDenyChildren
Source§impl Ord for AllowDenyChildren
impl Ord for AllowDenyChildren
Source§fn cmp(&self, other: &AllowDenyChildren) -> Ordering
fn cmp(&self, other: &AllowDenyChildren) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AllowDenyChildren
impl PartialEq for AllowDenyChildren
Source§impl PartialOrd for AllowDenyChildren
impl PartialOrd for AllowDenyChildren
impl Eq for AllowDenyChildren
impl StructuralPartialEq for AllowDenyChildren
Auto Trait Implementations§
impl Freeze for AllowDenyChildren
impl RefUnwindSafe for AllowDenyChildren
impl Send for AllowDenyChildren
impl Sync for AllowDenyChildren
impl Unpin for AllowDenyChildren
impl UnsafeUnpin for AllowDenyChildren
impl UnwindSafe for AllowDenyChildren
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