[][src]Trait nested::Collection

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::Output);
fn split_off(&mut self, at: usize) -> Self; }

A Collection trait to expose basic required fn for Nested to work properly

Required methods

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::Output)

fn split_off(&mut self, at: usize) -> Self

Loading content...

Implementations on Foreign Types

impl<T: Clone> Collection for Vec<T>[src]

impl Collection for String[src]

Loading content...

Implementors

Loading content...