Struct pyo3_ffi::Py_complex
source · #[repr(C)]pub struct Py_complex {
pub real: c_double,
pub imag: c_double,
}
Fields§
§real: c_double
§imag: c_double
Trait Implementations§
source§impl Clone for Py_complex
impl Clone for Py_complex
source§fn clone(&self) -> Py_complex
fn clone(&self) -> Py_complex
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 moreimpl Copy for Py_complex
Auto Trait Implementations§
impl RefUnwindSafe for Py_complex
impl Send for Py_complex
impl Sync for Py_complex
impl Unpin for Py_complex
impl UnwindSafe for Py_complex
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