Enum pyo3_ffi::_PyStatus_TYPE
source · #[repr(C)]pub enum _PyStatus_TYPE {
_PyStatus_TYPE_OK = 0,
_PyStatus_TYPE_ERROR = 1,
_PyStatus_TYPE_EXIT = 2,
}
Variants§
Trait Implementations§
source§impl Clone for _PyStatus_TYPE
impl Clone for _PyStatus_TYPE
source§fn clone(&self) -> _PyStatus_TYPE
fn clone(&self) -> _PyStatus_TYPE
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 Debug for _PyStatus_TYPE
impl Debug for _PyStatus_TYPE
source§impl PartialEq for _PyStatus_TYPE
impl PartialEq for _PyStatus_TYPE
source§fn eq(&self, other: &_PyStatus_TYPE) -> bool
fn eq(&self, other: &_PyStatus_TYPE) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for _PyStatus_TYPE
impl Eq for _PyStatus_TYPE
impl StructuralPartialEq for _PyStatus_TYPE
Auto Trait Implementations§
impl RefUnwindSafe for _PyStatus_TYPE
impl Send for _PyStatus_TYPE
impl Sync for _PyStatus_TYPE
impl Unpin for _PyStatus_TYPE
impl UnwindSafe for _PyStatus_TYPE
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