[−][src]Struct pyo3::ffi::PyNumberMethods
Fields
nb_add: Option<binaryfunc>
nb_subtract: Option<binaryfunc>
nb_multiply: Option<binaryfunc>
nb_remainder: Option<binaryfunc>
nb_divmod: Option<binaryfunc>
nb_power: Option<ternaryfunc>
nb_negative: Option<unaryfunc>
nb_positive: Option<unaryfunc>
nb_absolute: Option<unaryfunc>
nb_bool: Option<inquiry>
nb_invert: Option<unaryfunc>
nb_lshift: Option<binaryfunc>
nb_rshift: Option<binaryfunc>
nb_and: Option<binaryfunc>
nb_xor: Option<binaryfunc>
nb_or: Option<binaryfunc>
nb_int: Option<unaryfunc>
nb_reserved: *mut c_void
nb_float: Option<unaryfunc>
nb_inplace_add: Option<binaryfunc>
nb_inplace_subtract: Option<binaryfunc>
nb_inplace_multiply: Option<binaryfunc>
nb_inplace_remainder: Option<binaryfunc>
nb_inplace_power: Option<ternaryfunc>
nb_inplace_lshift: Option<binaryfunc>
nb_inplace_rshift: Option<binaryfunc>
nb_inplace_and: Option<binaryfunc>
nb_inplace_xor: Option<binaryfunc>
nb_inplace_or: Option<binaryfunc>
nb_floor_divide: Option<binaryfunc>
nb_true_divide: Option<binaryfunc>
nb_inplace_floor_divide: Option<binaryfunc>
nb_inplace_true_divide: Option<binaryfunc>
nb_index: Option<unaryfunc>
nb_matrix_multiply: Option<binaryfunc>
nb_inplace_matrix_multiply: Option<binaryfunc>
Trait Implementations
impl Clone for PyNumberMethods
[src]
fn clone(&self) -> PyNumberMethods
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for PyNumberMethods
[src]
impl Default for PyNumberMethods
[src]
Auto Trait Implementations
impl RefUnwindSafe for PyNumberMethods
impl !Send for PyNumberMethods
impl !Sync for PyNumberMethods
impl Unpin for PyNumberMethods
impl UnwindSafe for PyNumberMethods
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>,