[−][src]Struct pyo3::ffi::PyTypeObject
Fields
ob_base: PyVarObject
tp_name: *const c_char
tp_basicsize: Py_ssize_t
tp_itemsize: Py_ssize_t
tp_dealloc: Option<destructor>
tp_print: Option<printfunc>
tp_getattr: Option<getattrfunc>
tp_setattr: Option<setattrfunc>
tp_as_async: *mut PyAsyncMethods
tp_repr: Option<reprfunc>
tp_as_number: *mut PyNumberMethods
tp_as_sequence: *mut PySequenceMethods
tp_as_mapping: *mut PyMappingMethods
tp_hash: Option<hashfunc>
tp_call: Option<ternaryfunc>
tp_str: Option<reprfunc>
tp_getattro: Option<getattrofunc>
tp_setattro: Option<setattrofunc>
tp_as_buffer: *mut PyBufferProcs
tp_flags: c_ulong
tp_doc: *const c_char
tp_traverse: Option<traverseproc>
tp_clear: Option<inquiry>
tp_richcompare: Option<richcmpfunc>
tp_weaklistoffset: Py_ssize_t
tp_iter: Option<getiterfunc>
tp_iternext: Option<iternextfunc>
tp_methods: *mut PyMethodDef
tp_members: *mut PyMemberDef
tp_getset: *mut PyGetSetDef
tp_base: *mut PyTypeObject
tp_dict: *mut PyObject
tp_descr_get: Option<descrgetfunc>
tp_descr_set: Option<descrsetfunc>
tp_dictoffset: Py_ssize_t
tp_init: Option<initproc>
tp_alloc: Option<allocfunc>
tp_new: Option<newfunc>
tp_free: Option<freefunc>
tp_is_gc: Option<inquiry>
tp_bases: *mut PyObject
tp_mro: *mut PyObject
tp_cache: *mut PyObject
tp_subclasses: *mut PyObject
tp_weaklist: *mut PyObject
tp_del: Option<destructor>
tp_version_tag: c_uint
tp_finalize: Option<destructor>
Trait Implementations
impl Clone for PyTypeObject
[src]
fn clone(&self) -> PyTypeObject
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for PyTypeObject
[src]
impl Debug for PyTypeObject
[src]
Auto Trait Implementations
impl RefUnwindSafe for PyTypeObject
impl !Send for PyTypeObject
impl !Sync for PyTypeObject
impl Unpin for PyTypeObject
impl UnwindSafe for PyTypeObject
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> FromPy<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> IntoPy<U> for T where
U: FromPy<T>,
[src]
U: FromPy<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,