Struct pyo3::ffi::PySetObject
source · #[repr(C)]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,
}
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§
source§impl Debug for PySetObject
impl Debug for PySetObject
impl PyLayout<PyFrozenSet> for PySetObject
impl PyLayout<PySet> for PySetObject
impl PySizedLayout<PyFrozenSet> for PySetObject
impl PySizedLayout<PySet> for PySetObject
Auto Trait Implementations§
impl RefUnwindSafe for PySetObject
impl !Send for PySetObject
impl !Sync for PySetObject
impl Unpin for PySetObject
impl UnwindSafe for PySetObject
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more