[][src]Trait lang_extension::value::Object

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 { ... } }

Required methods

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

Loading content...

Provided methods

fn type_name(&self) -> &'static str

Loading content...

Implementors

impl<T: 'static + Hash + PartialEq + Eq + Debug + Clone> Object for T[src]

Loading content...