Trait tcgeneric::Instance[][src]

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

A generic instance trait

Associated Types

type Class: Class[src]

The Class type of this instance

Loading content...

Required methods

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

Returns the [Class] of this instance.

Loading content...

Implementors

Loading content...