pub struct RopeLeaf {
pub lines: Vec<String>,
pub metrics: SubtreeMetrics,
}Expand description
A leaf node containing a contiguous block of text lines in the B-Tree Rope.
Fields§
§lines: Vec<String>§metrics: SubtreeMetricsImplementations§
Trait Implementations§
impl Eq for RopeLeaf
impl StructuralPartialEq for RopeLeaf
Auto Trait Implementations§
impl Forget for RopeLeaf
impl Freeze for RopeLeaf
impl Move for RopeLeaf
impl RefUnwindSafe for RopeLeaf
impl Send for RopeLeaf
impl Sync for RopeLeaf
impl Unpin for RopeLeaf
impl UnsafeUnpin for RopeLeaf
impl UnwindSafe for RopeLeaf
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.