#[repr(C)]pub struct Py_complex {
pub real: f64,
pub imag: f64,
}
Fields§
§real: f64
§imag: f64
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