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
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)
Trait Implementations
impl PartialEq for Key
[src]
impl PartialEq for Key
fn eq(&self, other: &Key) -> bool
[src]
fn eq(&self, other: &Key) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Key) -> bool
[src]
fn ne(&self, other: &Key) -> bool
This method tests for !=
.
impl Eq for Key
[src]
impl Eq for Key
impl Clone for Key
[src]
impl Clone for Key
fn clone(&self) -> Key
[src]
fn clone(&self) -> Key
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Hash for Key
[src]
impl Hash for Key
fn hash<S: Hasher>(&self, state: &mut S)
[src]
fn hash<S: Hasher>(&self, state: &mut S)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl PhfHash for Key
[src]
impl PhfHash for Key