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 Constants§
const NAME: &'static str
const MODULE_NAME: Option<&'static str>
const TP_NAME: &'static str
const BASICSIZE: usize
Provided Associated Constants§
Required Associated Types§
type Base: PyClassDef
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.