[−][src]Type Definition rustpython_vm::obj::objtype::PyClassRef
type PyClassRef = PyRef<PyClass>;
Methods
impl PyClassRef
[src]
pub fn set_str_attr<V: Into<PyObjectRef>>(&self, attr_name: &str, value: V)
[src]
impl PyClassRef
[src]
pub fn get_attr(&self, attr_name: &str) -> Option<PyObjectRef>
[src]
This is the internal get_attr implementation for fast lookup on a class.