#[repr(C)]pub struct Complex<F> {
pub re: F,
pub im: F,
}Expand description
Fields§
§re: FReal part.
im: FImaginary part.
Implementations§
Trait Implementations§
impl<F: Copy> Copy for Complex<F>
Source§impl<F: PartialEq> PartialEq for Complex<F>
impl<F: PartialEq> PartialEq for Complex<F>
impl<F> StructuralPartialEq for Complex<F>
Auto Trait Implementations§
impl<F> Freeze for Complex<F>where
F: Freeze,
impl<F> RefUnwindSafe for Complex<F>where
F: RefUnwindSafe,
impl<F> Send for Complex<F>where
F: Send,
impl<F> Sync for Complex<F>where
F: Sync,
impl<F> Unpin for Complex<F>where
F: Unpin,
impl<F> UnsafeUnpin for Complex<F>where
F: UnsafeUnpin,
impl<F> UnwindSafe for Complex<F>where
F: UnwindSafe,
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