[][src]Struct comde::phf::CompressedPhfMap

pub struct CompressedPhfMap<K, V, D> where
    K: 'static,
    V: Decompress,
    D: Decompressor
{ pub decompressor_ty: PhantomData<D>, // some fields omitted }

Fields

decompressor_ty: PhantomData<D>

Methods

impl<K: PhfHash + Eq, V, D> CompressedPhfMap<K, V, D> where
    V: Decompress,
    D: Decompressor
[src]

pub fn get<T: ?Sized>(&self, key: &T) -> Option<V> where
    T: Eq + PhfHash,
    K: Borrow<T>, 
[src]

Auto Trait Implementations

impl<K, V, D> Send for CompressedPhfMap<K, V, D> where
    D: Send,
    K: Send + Sync,
    V: Send

impl<K, V, D> Unpin for CompressedPhfMap<K, V, D> where
    D: Unpin,
    K: Unpin,
    V: Unpin

impl<K, V, D> Sync for CompressedPhfMap<K, V, D> where
    D: Sync,
    K: Sync,
    V: Sync

impl<K, V, D> RefUnwindSafe for CompressedPhfMap<K, V, D> where
    D: RefUnwindSafe,
    K: RefUnwindSafe,
    V: RefUnwindSafe

impl<K, V, D> UnwindSafe for CompressedPhfMap<K, V, D> where
    D: UnwindSafe,
    K: RefUnwindSafe + UnwindSafe,
    V: UnwindSafe

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]