pub struct RopeMemoryStats {
pub chunks: usize,
pub lines: usize,
pub cells: usize,
pub bytes_estimated: usize,
}Expand description
Memory usage statistics for a rope buffer.
Fields§
§chunks: usizeNumber of chunks.
lines: usizeNumber of lines.
cells: usizeNumber of cells.
bytes_estimated: usizeEstimated memory usage in bytes.
Trait Implementations§
Source§impl Clone for RopeMemoryStats
impl Clone for RopeMemoryStats
Source§fn clone(&self) -> RopeMemoryStats
fn clone(&self) -> RopeMemoryStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RopeMemoryStats
impl Debug for RopeMemoryStats
impl Copy for RopeMemoryStats
Auto Trait Implementations§
impl Freeze for RopeMemoryStats
impl RefUnwindSafe for RopeMemoryStats
impl Send for RopeMemoryStats
impl Sync for RopeMemoryStats
impl Unpin for RopeMemoryStats
impl UnwindSafe for RopeMemoryStats
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