Enum phf_macros::util::Key[][src]

pub enum Key {
    Str(LocalInternedString),
    Binary(Rc<Vec<u8>>),
    Char(char),
    U8(u8),
    I8(i8),
    U16(u16),
    I16(i16),
    U32(u32),
    I32(i32),
    U64(u64),
    I64(i64),
    Bool(bool),
}

Variants

Trait Implementations

impl PartialEq for Key
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Key
[src]

impl Clone for Key
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for Key
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PhfHash for Key
[src]

Feeds the value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

Auto Trait Implementations

impl !Send for Key

impl !Sync for Key