pub struct All<Invariant: Test<Input::Item, 1>, Input: IntoIterator + Debug>(/* private fields */)
where
Input::Item: Debug,
for<'i> &'i Input: IntoIterator<Item = &'i Input::Item>;
Expand description
Iterable data structure in which each element satisfies a given invariant.
Trait Implementations§
Source§impl<Invariant: Clone + Test<Input::Item, 1>, Input: Clone + IntoIterator + Debug> Clone for All<Invariant, Input>
impl<Invariant: Clone + Test<Input::Item, 1>, Input: Clone + IntoIterator + Debug> Clone for All<Invariant, Input>
Source§impl<Invariant: Debug + Test<Input::Item, 1>, Input: Debug + IntoIterator + Debug> Debug for All<Invariant, Input>
impl<Invariant: Debug + Test<Input::Item, 1>, Input: Debug + IntoIterator + Debug> Debug for All<Invariant, Input>
Source§impl<Invariant: Default + Test<Input::Item, 1>, Input: Default + IntoIterator + Debug> Default for All<Invariant, Input>
impl<Invariant: Default + Test<Input::Item, 1>, Input: Default + IntoIterator + Debug> Default for All<Invariant, Input>
Source§impl<Invariant: Hash + Test<Input::Item, 1>, Input: Hash + IntoIterator + Debug> Hash for All<Invariant, Input>
impl<Invariant: Hash + Test<Input::Item, 1>, Input: Hash + IntoIterator + Debug> Hash for All<Invariant, Input>
Source§impl<Invariant: Ord + Test<Input::Item, 1>, Input: Ord + IntoIterator + Debug> Ord for All<Invariant, Input>
impl<Invariant: Ord + Test<Input::Item, 1>, Input: Ord + IntoIterator + Debug> Ord for All<Invariant, Input>
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<Invariant: PartialEq + Test<Input::Item, 1>, Input: PartialEq + IntoIterator + Debug> PartialEq for All<Invariant, Input>
impl<Invariant: PartialEq + Test<Input::Item, 1>, Input: PartialEq + IntoIterator + Debug> PartialEq for All<Invariant, Input>
Source§impl<Invariant: PartialOrd + Test<Input::Item, 1>, Input: PartialOrd + IntoIterator + Debug> PartialOrd for All<Invariant, Input>
impl<Invariant: PartialOrd + Test<Input::Item, 1>, Input: PartialOrd + IntoIterator + Debug> PartialOrd for All<Invariant, Input>
Source§impl<Invariant: Test<Input::Item, 1>, Input: IntoIterator + Debug> Test<Input> for All<Invariant, Input>
impl<Invariant: Test<Input::Item, 1>, Input: IntoIterator + Debug> Test<Input> for All<Invariant, Input>
Source§const ADJECTIVE: &str = "all valid"
const ADJECTIVE: &str = "all valid"
Adjective to describe this test:
for example, if we’re testing A,
then this is B in “A is not B.”
impl<Invariant: Copy + Test<Input::Item, 1>, Input: Copy + IntoIterator + Debug> Copy for All<Invariant, Input>
impl<Invariant: Eq + Test<Input::Item, 1>, Input: Eq + IntoIterator + Debug> Eq for All<Invariant, Input>
impl<Invariant: Test<Input::Item, 1>, Input: IntoIterator + Debug> StructuralPartialEq for All<Invariant, Input>
Auto Trait Implementations§
impl<Invariant, Input> Freeze for All<Invariant, Input>
impl<Invariant, Input> RefUnwindSafe for All<Invariant, Input>where
Invariant: RefUnwindSafe,
Input: RefUnwindSafe,
impl<Invariant, Input> Send for All<Invariant, Input>
impl<Invariant, Input> Sync for All<Invariant, Input>
impl<Invariant, Input> Unpin for All<Invariant, Input>
impl<Invariant, Input> UnwindSafe for All<Invariant, Input>where
Invariant: UnwindSafe,
Input: UnwindSafe,
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