Trait tcgeneric::NativeClass
source · 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§
sourcefn from_path(path: &[PathSegment]) -> Option<Self>
fn from_path(path: &[PathSegment]) -> Option<Self>
Given a fully qualified path, return this class, or a subclass.