#[repr(C)]pub struct PyType_Spec {
pub name: *const i8,
pub basicsize: i32,
pub itemsize: i32,
pub flags: u32,
pub slots: *mut PyType_Slot,
}
Fields§
§name: *const i8
§basicsize: i32
§itemsize: i32
§flags: u32
§slots: *mut PyType_Slot
Trait Implementations§
Source§impl Clone for PyType_Spec
impl Clone for PyType_Spec
Source§fn clone(&self) -> PyType_Spec
fn clone(&self) -> PyType_Spec
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for PyType_Spec
impl Default for PyType_Spec
Source§fn default() -> PyType_Spec
fn default() -> PyType_Spec
Returns the “default value” for a type. Read more
impl Copy for PyType_Spec
Auto Trait Implementations§
impl Freeze for PyType_Spec
impl RefUnwindSafe for PyType_Spec
impl !Send for PyType_Spec
impl !Sync for PyType_Spec
impl Unpin for PyType_Spec
impl UnwindSafe for PyType_Spec
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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