#[repr(C)]pub struct Complex {
pub re: f64,
pub im: f64,
}Fields§
§re: f64§im: f64Implementations§
Trait Implementations§
impl Copy for Complex
Source§impl MulAssign for Complex
impl MulAssign for Complex
Source§fn mul_assign(&mut self, o: Self)
fn mul_assign(&mut self, o: Self)
Performs the
*= operation. Read moreimpl StructuralPartialEq for Complex
Auto Trait Implementations§
impl Freeze for Complex
impl RefUnwindSafe for Complex
impl Send for Complex
impl Sync for Complex
impl Unpin for Complex
impl UnsafeUnpin for Complex
impl UnwindSafe for 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