#[repr(C)]pub struct Complex32 {
pub re: f32,
pub im: f32,
}Expand description
Single-precision complex number, ABI-compatible with the C struct
{ float real; float imag; } used by BLIS’s scomplex, LAPACK’s
lapack_complex_float, and FFTW’s fftwf_complex.
Fields§
§re: f32Real part.
im: f32Imaginary part.
Implementations§
Trait Implementations§
impl Copy for Complex32
impl Sealed for Complex32
impl StructuralPartialEq for Complex32
Auto Trait Implementations§
impl Freeze for Complex32
impl RefUnwindSafe for Complex32
impl Send for Complex32
impl Sync for Complex32
impl Unpin for Complex32
impl UnsafeUnpin for Complex32
impl UnwindSafe for Complex32
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