Struct Drain

pub struct Drain<'a> { /* private fields */ }

Draining parallel iterator that moves a range of characters out of a string, but keeps the total capacity.

Trait Implementations

impl<'a> Debug for Drain<'a>

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<'a> Drop for Drain<'a>

fn drop(&mut self)

impl<'a> ParallelIterator for Drain<'a>

type Item = char;
fn drive_unindexed<C>(self, consumer: C) -> C::Result
where
    C: UnindexedConsumer<Self::Item>,

Auto Trait Implementations

impl<'a> !UnwindSafe for Drain<'a>

impl<'a> Freeze for Drain<'a>

impl<'a> RefUnwindSafe for Drain<'a>

impl<'a> Send for Drain<'a>

impl<'a> Sync for Drain<'a>

impl<'a> Unpin for Drain<'a>

impl<'a> UnsafeUnpin for Drain<'a>

Blanket Implementations

impl<T> Any for Drain<'a> where T: 'static + ?Sized,

impl<T> Borrow<T> for Drain<'a> where T: ?Sized,

impl<T> BorrowMut<T> for Drain<'a> where T: ?Sized,

impl<T> From<T> for Drain<'a>

impl<T> IntoEither for Drain<'a>

impl<T> IntoParallelIterator for Drain<'a> where T: ParallelIterator,

impl<T> Pointable for Drain<'a>

impl<T, U> Into<U> for Drain<'a> where U: From<T>,

impl<T, U> TryFrom<U> for Drain<'a> where U: Into<T>,

impl<T, U> TryInto<U> for Drain<'a> where U: TryFrom<T>,