pub enum AnnonationKey {
Symbol(Symbol),
ULong(u64),
Long(i64),
}
Expand description
Key for annotations Map
Variants§
Trait Implementations§
source§impl Clone for AnnonationKey
impl Clone for AnnonationKey
source§fn clone(&self) -> AnnonationKey
fn clone(&self) -> AnnonationKey
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AnnonationKey
impl Debug for AnnonationKey
source§impl From<&str> for AnnonationKey
impl From<&str> for AnnonationKey
source§fn from(string: &str) -> AnnonationKey
fn from(string: &str) -> AnnonationKey
Converts to this type from the input type.
source§impl From<String> for AnnonationKey
impl From<String> for AnnonationKey
source§fn from(string: String) -> AnnonationKey
fn from(string: String) -> AnnonationKey
Converts to this type from the input type.
source§impl From<u64> for AnnonationKey
impl From<u64> for AnnonationKey
source§fn from(number: u64) -> AnnonationKey
fn from(number: u64) -> AnnonationKey
Converts to this type from the input type.
source§impl Hash for AnnonationKey
impl Hash for AnnonationKey
source§impl PartialEq for AnnonationKey
impl PartialEq for AnnonationKey
source§fn eq(&self, other: &AnnonationKey) -> bool
fn eq(&self, other: &AnnonationKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AnnonationKey
impl StructuralEq for AnnonationKey
impl StructuralPartialEq for AnnonationKey
Auto Trait Implementations§
impl RefUnwindSafe for AnnonationKey
impl Send for AnnonationKey
impl Sync for AnnonationKey
impl Unpin for AnnonationKey
impl UnwindSafe for AnnonationKey
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more