pub struct HashCompress<T> {
data: HashMap<T, usize>,
}Fields§
§data: HashMap<T, usize>Trait Implementations§
Source§impl<T: Clone> Clone for HashCompress<T>
impl<T: Clone> Clone for HashCompress<T>
Source§impl<T> Compressor<T> for HashCompress<T>
impl<T> Compressor<T> for HashCompress<T>
Source§impl<T> Debug for HashCompress<T>
impl<T> Debug for HashCompress<T>
Source§impl<T> FromIterator<T> for HashCompress<T>
impl<T> FromIterator<T> for HashCompress<T>
Source§fn from_iter<I>(iter: I) -> Selfwhere
I: IntoIterator<Item = T>,
fn from_iter<I>(iter: I) -> Selfwhere
I: IntoIterator<Item = T>,
Creates a value from an iterator. Read more
Auto Trait Implementations§
impl<T> Freeze for HashCompress<T>
impl<T> RefUnwindSafe for HashCompress<T>
impl<T> Send for HashCompress<T>
impl<T> Sync for HashCompress<T>
impl<T> Unpin for HashCompress<T>
impl<T> UnsafeUnpin for HashCompress<T>
impl<T> UnwindSafe for HashCompress<T>
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