[][src]Trait slice_group_by::StrGroupByMut

pub trait StrGroupByMut {
    fn linear_group_by_mut<P>(&mut self, predicate: P) -> LinearStrGroupByMut<P>
    where
        P: FnMut(char, char) -> bool
;
fn linear_group_mut(&mut self) -> LinearStrGroupMut; }

A convenient trait to construct an iterator returning non-overlapping mutable str slices defined by a predicate.

Required methods

Important traits for LinearStrGroupByMut<'a, P>
fn linear_group_by_mut<P>(&mut self, predicate: P) -> LinearStrGroupByMut<P> where
    P: FnMut(char, char) -> bool

Returns an iterator on mutable str groups using the linear search method.

Important traits for LinearStrGroupMut<'a>
fn linear_group_mut(&mut self) -> LinearStrGroupMut

Returns an iterator on mutable str groups based on the PartialEq::eq method of char, it uses linear search to iterate over groups.

Loading content...

Implementations on Foreign Types

impl StrGroupByMut for str[src]

Loading content...

Implementors

Loading content...