#[repr(C)]pub struct ConstantKeyHash;Implementations§
Source§impl ConstantKeyHash
impl ConstantKeyHash
pub fn call(&self, key: &ConstantKey) -> usize
Trait Implementations§
Source§impl Clone for ConstantKeyHash
impl Clone for ConstantKeyHash
Source§fn clone(&self) -> ConstantKeyHash
fn clone(&self) -> ConstantKeyHash
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ConstantKeyHash
Source§impl Debug for ConstantKeyHash
impl Debug for ConstantKeyHash
Source§impl Default for ConstantKeyHash
impl Default for ConstantKeyHash
Source§fn default() -> ConstantKeyHash
fn default() -> ConstantKeyHash
Returns the “default value” for a type. Read more
impl Eq for ConstantKeyHash
Source§impl Hash for ConstantKeyHash
impl Hash for ConstantKeyHash
Source§impl PartialEq for ConstantKeyHash
impl PartialEq for ConstantKeyHash
Source§fn eq(&self, other: &ConstantKeyHash) -> bool
fn eq(&self, other: &ConstantKeyHash) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConstantKeyHash
Auto Trait Implementations§
impl Freeze for ConstantKeyHash
impl RefUnwindSafe for ConstantKeyHash
impl Send for ConstantKeyHash
impl Sync for ConstantKeyHash
impl Unpin for ConstantKeyHash
impl UnsafeUnpin for ConstantKeyHash
impl UnwindSafe for ConstantKeyHash
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