[][src]Struct comde_codegen::Map

pub struct Map<K, V, C> where
    K: Hash + PhfHash + Eq + Debug,
    V: Compress,
    C: Compressor
{ /* fields omitted */ }

Methods

impl<K, V, C> Map<K, V, C> where
    K: Hash + PhfHash + Eq + Debug,
    V: Compress,
    C: Compressor
[src]

pub fn new(
    decompressor_type: &'static str,
    value_type: &'static str
) -> Map<K, V, C>
[src]

pub fn entry(&mut self, key: K, value: V) -> &mut Map<K, V, C>[src]

pub fn phf_path(&mut self, path: &str) -> &mut Map<K, V, C>[src]

pub fn build<W: Write>(&self, w: &mut W) -> Result<()>[src]

Auto Trait Implementations

impl<K, V, C> Send for Map<K, V, C> where
    C: Send,
    K: Send,
    V: Send

impl<K, V, C> Unpin for Map<K, V, C> where
    C: Unpin,
    K: Unpin,
    V: Unpin

impl<K, V, C> Sync for Map<K, V, C> where
    C: Sync,
    K: Sync,
    V: Sync

impl<K, V, C> UnwindSafe for Map<K, V, C> where
    C: UnwindSafe,
    K: UnwindSafe,
    V: UnwindSafe

impl<K, V, C> RefUnwindSafe for Map<K, V, C> where
    C: RefUnwindSafe,
    K: RefUnwindSafe,
    V: RefUnwindSafe

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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