[][src]Trait memflow::iter::SplitAtIndex

pub trait SplitAtIndex {
    fn split_at(&mut self, idx: usize) -> (Self, Option<Self>)
    where
        Self: Sized
;
fn length(&self) -> usize; fn split_inclusive_at(&mut self, idx: usize) -> (Self, Option<Self>)
    where
        Self: Sized
, { ... }
fn split_at_rev(&mut self, idx: usize) -> (Option<Self>, Self)
    where
        Self: Sized
, { ... }
fn unsplit(&mut self, _left: Self, _right: Option<Self>)
    where
        Self: Sized
, { ... }
fn size_hint(&self) -> usize { ... } }

Required methods

fn split_at(&mut self, idx: usize) -> (Self, Option<Self>) where
    Self: Sized

fn length(&self) -> usize

Loading content...

Provided methods

fn split_inclusive_at(&mut self, idx: usize) -> (Self, Option<Self>) where
    Self: Sized

fn split_at_rev(&mut self, idx: usize) -> (Option<Self>, Self) where
    Self: Sized

fn unsplit(&mut self, _left: Self, _right: Option<Self>) where
    Self: Sized

fn size_hint(&self) -> usize

Loading content...

Implementations on Foreign Types

impl<'a, T: SplitAtIndex> SplitAtIndex for (&'a Bump, TranslationChunk<'a, T>)[src]

impl SplitAtIndex for usize[src]

impl<T: SplitAtIndex> SplitAtIndex for (Address, T)[src]

impl<T, '_> SplitAtIndex for &'_ [T][src]

impl<T, '_> SplitAtIndex for &'_ mut [T][src]

Loading content...

Implementors

Loading content...