pub struct InternPoolStats {
pub len: usize,
pub total_bytes: usize,
}Expand description
Statistics snapshot for an InternPool.
Fields§
§len: usizeNumber of distinct strings stored.
total_bytes: usizeSum of byte lengths of all stored strings (not including null terminators).
Trait Implementations§
Source§impl Clone for InternPoolStats
impl Clone for InternPoolStats
Source§fn clone(&self) -> InternPoolStats
fn clone(&self) -> InternPoolStats
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 InternPoolStats
impl Debug for InternPoolStats
Source§impl PartialEq for InternPoolStats
impl PartialEq for InternPoolStats
impl Copy for InternPoolStats
impl Eq for InternPoolStats
impl StructuralPartialEq for InternPoolStats
Auto Trait Implementations§
impl Freeze for InternPoolStats
impl RefUnwindSafe for InternPoolStats
impl Send for InternPoolStats
impl Sync for InternPoolStats
impl Unpin for InternPoolStats
impl UnsafeUnpin for InternPoolStats
impl UnwindSafe for InternPoolStats
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