Struct pyo3::ffi::PySetObject

source ·
pub struct PySetObject {
    pub ob_base: PyObject,
    pub fill: isize,
    pub used: isize,
    pub mask: isize,
    pub table: *mut setentry,
    pub hash: isize,
    pub finger: isize,
    pub smalltable: [setentry; 8],
    pub weakreflist: *mut PyObject,
}
Available on neither Py_LIMITED_API nor PyPy.

Fields§

§ob_base: PyObject§fill: isize§used: isize§mask: isize§table: *mut setentry§hash: isize§finger: isize§smalltable: [setentry; 8]§weakreflist: *mut PyObject

Trait Implementations§

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.