Struct string_compressor::StringCompressor
source · [−]pub struct StringCompressor { /* private fields */ }
Expand description
A structure that can create minimally compact, non-colliding, base-64 aliases for a set of strings. This is different then a “hasher”, because it optimizes for small hash sizes, but two instances won’t yield the same hashed values for a given input string unless the order of hash operations is identical.
Implementations
Auto Trait Implementations
impl RefUnwindSafe for StringCompressor
impl Send for StringCompressor
impl Sync for StringCompressor
impl Unpin for StringCompressor
impl UnwindSafe for StringCompressor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more