Enum twig::value::HashKey [] [src]

pub enum HashKey {
    Int(i64),
    Str(String),
}

Value kind that can be used as Hash key.

Variants

Int
Str

Trait Implementations

impl Debug for HashKey

fn fmt(&self, f: &mut Formatter) -> Result

Derived Implementations

impl PartialOrd for HashKey

fn partial_cmp(&self, __arg_0: &HashKey) -> Option<Ordering>

fn lt(&self, __arg_0: &HashKey) -> bool

fn le(&self, __arg_0: &HashKey) -> bool

fn gt(&self, __arg_0: &HashKey) -> bool

fn ge(&self, __arg_0: &HashKey) -> bool

impl Eq for HashKey

impl PartialEq for HashKey

fn eq(&self, __arg_0: &HashKey) -> bool

fn ne(&self, __arg_0: &HashKey) -> bool

impl Hash for HashKey

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Clone for HashKey

fn clone(&self) -> HashKey

fn clone_from(&mut self, source: &Self)