Trait xi_rope::tree::Leaf
[−]
[src]
pub trait Leaf: Sized + Clone + Default { fn len(&self) -> usize; fn is_ok_child(&self) -> bool; fn push_maybe_split(&mut self, other: &Self, iv: Interval) -> Option<Self>; fn subseq(&self, iv: Interval) -> Self { ... } }
Required Methods
fn len(&self) -> usize
fn is_ok_child(&self) -> bool
fn push_maybe_split(&mut self, other: &Self, iv: Interval) -> Option<Self>
Provided Methods
Implementors
impl Leaf for BreaksLeaf
impl Leaf for String
impl<T: Clone + Default> Leaf for SpansLeaf<T>