Trait tcgeneric::Instance[][src]

pub trait Instance: Send + Sync {
    type Class: Class;
    fn class(&self) -> Self::Class;
}
Expand description

A generic instance trait

Associated Types

type Class: Class[src]

Expand description

The Class type of this instance

Loading content...

Required methods

fn class(&self) -> Self::Class[src]

Expand description

Returns the [Class] of this instance.

Loading content...

Implementors

Loading content...