pub enum HashableKind {
Str,
Int,
}Expand description
A Hashable type, named rather than carried.
The metatype-keyed modifiers take A.Type rather than an A, so they need
the metadata and the conformance but no value.
Variants§
Trait Implementations§
Source§impl Clone for HashableKind
impl Clone for HashableKind
impl Copy for HashableKind
Source§impl Debug for HashableKind
impl Debug for HashableKind
impl Eq for HashableKind
Source§impl From<Int> for HashableKind
impl From<Int> for HashableKind
Source§impl From<Str> for HashableKind
impl From<Str> for HashableKind
Source§impl PartialEq for HashableKind
impl PartialEq for HashableKind
impl StructuralPartialEq for HashableKind
Auto Trait Implementations§
impl Freeze for HashableKind
impl RefUnwindSafe for HashableKind
impl Send for HashableKind
impl Sync for HashableKind
impl Unpin for HashableKind
impl UnsafeUnpin for HashableKind
impl UnwindSafe for HashableKind
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