Trait rustpython_vm::class::StaticType
source · pub trait StaticType {
// Required method
fn static_cell() -> &'static StaticCell<PyTypeRef>;
// Provided methods
fn static_metaclass() -> &'static Py<PyType> { ... }
fn static_baseclass() -> &'static Py<PyType> { ... }
fn static_type() -> &'static Py<PyType> { ... }
fn init_manually(typ: PyTypeRef) -> &'static Py<PyType> { ... }
fn init_builtin_type() -> &'static Py<PyType>
where Self: PyClassImpl { ... }
fn create_static_type() -> PyTypeRef
where Self: PyClassImpl { ... }
}