[][src]Trait lang_extension::any::Key

pub trait Key: Value {
    fn as_trait_ref(&self) -> &dyn Key;
fn as_trait_mut(&mut self) -> &mut dyn Key;
fn clone_boxed(&self) -> Box<dyn Key>;
fn to_boxed(self) -> Box<dyn Key>; fn hashcode(&self) -> u64 { ... } }

Required methods

fn as_trait_ref(&self) -> &dyn Key

fn as_trait_mut(&mut self) -> &mut dyn Key

fn clone_boxed(&self) -> Box<dyn Key>

fn to_boxed(self) -> Box<dyn Key>

Loading content...

Provided methods

fn hashcode(&self) -> u64

Loading content...

Implementors

impl<T: ?Sized + KeyConstraint> Key for T[src]

Loading content...