pub trait NativeClass: Class {
    fn from_path(path: &[PathSegment]) -> Option<Self>;
    fn path(&self) -> TCPathBuf;
}
Expand description

A generic native (i.e. implemented in Rust) class trait

Required Methods

Given a fully qualified path, return this class, or a subclass.

Returns the fully-qualified path of this class.

Implementors