Struct collections::string::Drain 1.6.0
[−]
[src]
pub struct Drain<'a> { /* fields omitted */ }
A draining iterator for String
.
This struct is created by the drain
method on String
. See its
documentation for more.
Trait Implementations
impl<'a> Iterator for Drain<'a>
[src]
type Item = char
fn next(&mut self) -> Option<char>
[src]
fn size_hint(&self) -> (usize, Option<usize>)
[src]
impl<'a> FusedIterator for Drain<'a>
[src]
impl<'a> DoubleEndedIterator for Drain<'a>
[src]
impl<'a> Debug for Drain<'a>
1.17.0[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.