pub struct TextCensus {
pub values: u64,
pub bytes: u64,
pub distinct_descriptors: u64,
pub distinct_characters: u64,
pub descriptor_to_characters: Distances,
pub consecutive_descriptors: Distances,
pub consecutive_characters: Distances,
}Expand description
Text values in emission order, and the placement of their two allocations.
Fields§
§values: u64Emitted Value::Str occurrences.
bytes: u64Their UTF-8 bytes before escaping, every occurrence counted.
distinct_descriptors: u64Distinct descriptor allocations among those occurrences.
distinct_characters: u64Distinct character allocations among those occurrences.
descriptor_to_characters: DistancesFrom each occurrence’s descriptor to its characters.
consecutive_descriptors: DistancesBetween the descriptors of consecutively emitted occurrences.
consecutive_characters: DistancesBetween the characters of consecutively emitted occurrences.
Trait Implementations§
Source§impl Clone for TextCensus
impl Clone for TextCensus
Source§impl Debug for TextCensus
impl Debug for TextCensus
Source§impl Default for TextCensus
impl Default for TextCensus
impl Eq for TextCensus
Source§impl PartialEq for TextCensus
impl PartialEq for TextCensus
Source§impl Serialize for TextCensus
impl Serialize for TextCensus
impl StructuralPartialEq for TextCensus
Auto Trait Implementations§
impl Forget for TextCensus
impl Freeze for TextCensus
impl Move for TextCensus
impl RefUnwindSafe for TextCensus
impl Send for TextCensus
impl Sync for TextCensus
impl Unpin for TextCensus
impl UnsafeUnpin for TextCensus
impl UnwindSafe for TextCensus
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.