Struct pyo3::exc::ZeroDivisionError [−][src]
pub struct ZeroDivisionError;
Methods
impl ZeroDivisionError
[src]
impl ZeroDivisionError
pub fn new<V: ToPyObject + 'static>(args: V) -> PyErr
[src]
pub fn new<V: ToPyObject + 'static>(args: V) -> PyErr
pub fn into<R, V: ToPyObject + 'static>(args: V) -> PyResult<R>
[src]
pub fn into<R, V: ToPyObject + 'static>(args: V) -> PyResult<R>
Trait Implementations
impl From<ZeroDivisionError> for PyErr
[src]
impl From<ZeroDivisionError> for PyErr
fn from(_err: ZeroDivisionError) -> PyErr
[src]
fn from(_err: ZeroDivisionError) -> PyErr
Performs the conversion.
impl<T> Into<PyResult<T>> for ZeroDivisionError
[src]
impl<T> Into<PyResult<T>> for ZeroDivisionError
impl PyTypeObject for ZeroDivisionError
[src]
impl PyTypeObject for ZeroDivisionError
fn init_type()
[src]
fn init_type()
Initialize type object
fn type_object() -> Py<PyType>
[src]
fn type_object() -> Py<PyType>
Retrieves the type object for this Python object type.
fn create(py: Python) -> PyResult<PyRawObject> where
Self: Sized + PyObjectAlloc<Self> + PyTypeInfo,
[src]
fn create(py: Python) -> PyResult<PyRawObject> where
Self: Sized + PyObjectAlloc<Self> + PyTypeInfo,
Create PyRawObject which can be initialized with rust value
Auto Trait Implementations
impl Send for ZeroDivisionError
impl Send for ZeroDivisionError
impl Sync for ZeroDivisionError
impl Sync for ZeroDivisionError