Trait nested::Collection [−][src]
pub trait Collection: Index<Range<usize>> {
fn new() -> Self;
fn with_capacity(cap: usize) -> Self;
fn len(&self) -> usize;
fn truncate(&mut self, len: usize);
fn extend_from_slice(&mut self, s: &<Self as Index<Range<usize>>>::Output);
fn split_off(&mut self, at: usize) -> Self;
}
Expand description
A Collection
trait to expose basic required fn for Nested
to work properly