Struct ark_ff::vec::Splice1.21.0[][src]

pub struct Splice<'a, I, A = Global> where
    I: 'a + Iterator,
    A: 'a + Allocator
{ /* fields omitted */ }

A splicing iterator for Vec.

This struct is created by Vec::splice(). See its documentation for more.

Example

let mut v = vec![0, 1, 2];
let new = [7, 8];
let iter: std::vec::Splice<_> = v.splice(1.., new.iter().cloned());

Trait Implementations

impl<'a, I, A> Debug for Splice<'a, I, A> where
    I: 'a + Debug + Iterator,
    A: 'a + Debug + Allocator,
    <I as Iterator>::Item: Debug
[src]

impl<'_, I, A> DoubleEndedIterator for Splice<'_, I, A> where
    I: Iterator,
    A: Allocator
[src]

impl<'_, I, A> Drop for Splice<'_, I, A> where
    I: Iterator,
    A: Allocator
[src]

impl<'_, I, A> ExactSizeIterator for Splice<'_, I, A> where
    I: Iterator,
    A: Allocator
[src]

impl<'_, I, A> Iterator for Splice<'_, I, A> where
    I: Iterator,
    A: Allocator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a, I, A> Send for Splice<'a, I, A> where
    A: Send,
    I: Send,
    <I as Iterator>::Item: Send

impl<'a, I, A> Sync for Splice<'a, I, A> where
    A: Sync,
    I: Sync,
    <I as Iterator>::Item: Sync

impl<'a, I, A> Unpin for Splice<'a, I, A> where
    I: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<I> IteratorRandom for I where
    I: Iterator
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,