collections::vec::Splice - Rust
Description: API documentation for the Rust `Splice` struct in crate `collections`.
Keywords: rust, rustlang, rust-lang, Splice

# Struct collections::vec::Splice 1.21.0 [−] [src]

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

A splicing iterator for `Vec`.

This struct is created by the `splice()` method on `Vec`. See its documentation for more.

## Trait Implementations

### `impl<'a, I> Iterator for Splice<'a, I> where
I: Iterator,`
[src]

#### `type Item = <I as Iterator>::Item`

#### `fn next(&mut self) -> Option<<Splice<'a, I> as Iterator>::Item>`
[src]

#### `fn size_hint(&self) -> (usize, Option<usize>)`
[src]

### `impl<'a, I> DoubleEndedIterator for Splice<'a, I> where
I: Iterator,`
[src]

#### `fn next_back(&mut self) -> Option<<Splice<'a, I> as Iterator>::Item>`
[src]

### `impl<'a, I> ExactSizeIterator for Splice<'a, I> where
I: Iterator,`
[src]

### `impl<'a, I> Drop for Splice<'a, I> where
I: Iterator,`
[src]

#### `fn drop(&mut self)`
[src]

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

#### `fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>`
[src]

Formats the value using the given formatter.

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result
+
  Collapse/expand all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)