Trait Object
lang_extension::value
pub trait Object: 'static { fn hashcode(&self) -> u64; fn equals(&self, other: &dyn Object) -> bool; fn to_debug_string(&self) -> String; fn clone_boxed(&self) -> Box<dyn Object>; fn as_any(&self) -> &dyn Any; fn as_any_mut(&mut self) -> &mut dyn Any; fn type_name(&self) -> &'static str { ... } }
fn hashcode(&self) -> u64
fn equals(&self, other: &dyn Object) -> bool
fn to_debug_string(&self) -> String
fn clone_boxed(&self) -> Box<dyn Object>
fn as_any(&self) -> &dyn Any
fn as_any_mut(&mut self) -> &mut dyn Any
fn type_name(&self) -> &'static str
impl<T: 'static + Hash + PartialEq + Eq + Debug + Clone> Object for T