pub trait Instance: Send + Sync {
    type Class: Class;

    fn class(&self) -> Self::Class;
}
Expand description

A generic instance trait

Required Associated Types

The Class type of this instance

Required Methods

Returns the [Class] of this instance.

Implementors