pub struct Split<'a, T: 'a, P> where P: FnMut(&T) -> bool {
// some fields omitted
}
An iterator over subslices separated by elements that match a predicate
function.
Trait Implementations
impl<'a, T, P> Clone for Split<'a, T, P> where P: Clone + FnMut(&T) -> bool
impl<'a, T, P> Iterator<&'a [T]> for Split<'a, T, P> where P: FnMut(&T) -> bool
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
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
, typedef
(or
tdef
).