Trait rustpython_vm::class::PyClassDef
source · pub trait PyClassDef {
type Base: PyClassDef;
const NAME: &'static str;
const MODULE_NAME: Option<&'static str>;
const TP_NAME: &'static str;
const BASICSIZE: usize;
const DOC: Option<&'static str> = None;
const UNHASHABLE: bool = false;
}
Required Associated Types§
type Base: PyClassDef
Required Associated Constants§
const NAME: &'static str
const MODULE_NAME: Option<&'static str>
const TP_NAME: &'static str
const BASICSIZE: usize
Provided Associated Constants§
Object Safety§
This trait is not object safe.