[−][src]Struct rustpython_vm::obj::objtype::PyClass
type(object_or_name, bases, dict) type(object) -> the object's type type(name, bases, dict) -> a new type
Fields
name: String
bases: Vec<PyClassRef>
mro: Vec<PyClassRef>
subclasses: RefCell<Vec<PyWeak>>
attributes: RefCell<PyAttributes>
slots: RefCell<PyClassSlots>
Trait Implementations
impl Debug for PyClass
[src][+]
impl Display for PyClass
[src][+]
impl PyClassDef for PyClass
[src]
impl PyValue for PyClass
[src][+]
Auto Trait Implementations
impl !RefUnwindSafe for PyClass
impl !Send for PyClass
impl !Sync for PyClass
impl Unpin for PyClass
impl !UnwindSafe for PyClass
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> IntoPyObject for T where
T: PyValue,
[src][+]
T: PyValue,
impl<T> PyObjectPayload for T where
T: 'static + PyValue,
[src][+]
T: 'static + PyValue,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToString for T where
T: Display + ?Sized,
[src][+]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[+]
V: MultiLane<T>,