#[repr(C)]pub struct Py_complex {
pub real: c_double,
pub imag: c_double,
}
Available on non-
Py_LIMITED_API
only.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 Freeze for Py_complex
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