Struct SliceChooseIter
struct SliceChooseIter<'a, S: ?Sized + 'a, T: 'a> { ... }
An iterator over multiple slice elements.
This struct is created by
IndexedRandom::choose_multiple.
Implementations
impl<'a, S, T> Freeze for SliceChooseIter<'a, S, T>
impl<'a, S, T> RefUnwindSafe for SliceChooseIter<'a, S, T>
impl<'a, S, T> Send for SliceChooseIter<'a, S, T>
impl<'a, S, T> Sync for SliceChooseIter<'a, S, T>
impl<'a, S, T> Unpin for SliceChooseIter<'a, S, T>
impl<'a, S, T> UnsafeUnpin for SliceChooseIter<'a, S, T>
impl<'a, S, T> UnwindSafe for SliceChooseIter<'a, S, T>
impl<'a, S: $crate::fmt::Debug + ?Sized + 'a, T: $crate::fmt::Debug + 'a> Debug for SliceChooseIter<'a, S, T>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<'a, S: Index<usize, Output = T> + ?Sized + 'a, T: 'a> ExactSizeIterator for SliceChooseIter<'a, S, T>
fn len(self: &Self) -> usize
impl<'a, S: Index<usize, Output = T> + ?Sized + 'a, T: 'a> Iterator for SliceChooseIter<'a, S, T>
fn next(self: &mut Self) -> Option<<Self as >::Item>fn size_hint(self: &Self) -> (usize, Option<usize>)
impl<I> IntoIterator for SliceChooseIter<'a, S, T>
fn into_iter(self: Self) -> I
impl<I> IteratorRandom for SliceChooseIter<'a, S, T>
impl<T> Any for SliceChooseIter<'a, S, T>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for SliceChooseIter<'a, S, T>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for SliceChooseIter<'a, S, T>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for SliceChooseIter<'a, S, T>
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into for SliceChooseIter<'a, S, T>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for SliceChooseIter<'a, S, T>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for SliceChooseIter<'a, S, T>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>
impl<V, T> VZip for SliceChooseIter<'a, S, T>
fn vzip(self: Self) -> V