pub trait ValidPayload: Debug + Display + HasClass + 'static {
    // Required methods
    fn as_any(&self) -> &dyn Any;
    fn eq(&self, other: &ObjectRef) -> bool;
    fn into_object(self, ctx: &TypeContext) -> ObjectRef;
    fn get_static_class(&self, ctx: &TypeContext) -> ClassRef;
}

Required Methods§

source

fn as_any(&self) -> &dyn Any

source

fn eq(&self, other: &ObjectRef) -> bool

Tests whether this object is equal to another object

source

fn into_object(self, ctx: &TypeContext) -> ObjectRef

source

fn get_static_class(&self, ctx: &TypeContext) -> ClassRef

Implementors§