pub struct PrefixHitEstimate {
pub overlap_bytes: usize,
pub total_bytes: usize,
}Expand description
Result of comparing the current context against the previous baseline.
Fields§
§overlap_bytes: usizeNumber of bytes in the longest common prefix between the current and previous canonical context.
total_bytes: usizeTotal canonical bytes of the current context.
Trait Implementations§
Source§impl Clone for PrefixHitEstimate
impl Clone for PrefixHitEstimate
Source§fn clone(&self) -> PrefixHitEstimate
fn clone(&self) -> PrefixHitEstimate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PrefixHitEstimate
impl Debug for PrefixHitEstimate
Source§impl Default for PrefixHitEstimate
impl Default for PrefixHitEstimate
Source§fn default() -> PrefixHitEstimate
fn default() -> PrefixHitEstimate
Returns the “default value” for a type. Read more
impl Eq for PrefixHitEstimate
Source§impl PartialEq for PrefixHitEstimate
impl PartialEq for PrefixHitEstimate
impl StructuralPartialEq for PrefixHitEstimate
Auto Trait Implementations§
impl Freeze for PrefixHitEstimate
impl RefUnwindSafe for PrefixHitEstimate
impl Send for PrefixHitEstimate
impl Sync for PrefixHitEstimate
impl Unpin for PrefixHitEstimate
impl UnsafeUnpin for PrefixHitEstimate
impl UnwindSafe for PrefixHitEstimate
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.