Enum cachy::CacheId
[−]
[src]
pub enum CacheId { USize(usize), U32(u32), U64(u64), ISize(isize), I32(i32), I64(i64), Str(String), }
The identifier that the cache uses to make resources unique
Variants
USize(usize)
U32(u32)
U64(u64)
ISize(isize)
I32(i32)
I64(i64)
Str(String)
Trait Implementations
impl Debug for CacheId
[src]
impl Clone for CacheId
[src]
fn clone(&self) -> CacheId
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Hash for CacheId
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for CacheId
[src]
fn eq(&self, __arg_0: &CacheId) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CacheId) -> bool
This method tests for !=
.