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 [−] [src]

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

🔬 This is a nightly-only experimental API. (`splice` #32310)

recently added

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`

🔬 This is a nightly-only experimental API. (`splice` #32310)

recently added

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

🔬 This is a nightly-only experimental API. (`splice` #32310)

recently added

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

🔬 This is a nightly-only experimental API. (`splice` #32310)

recently added

### `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>`

Formats the value using the given formatter.

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

#### `fn drop(&mut self)`

🔬 This is a nightly-only experimental API. (`splice` #32310)

recently added

### `impl<'a, I> ExactSizeIterator for Splice<'a, I> where
I: Iterator,`
[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>`

🔬 This is a nightly-only experimental API. (`splice` #32310)

recently added

# 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`)