Struct symphonia_core::dsp::complex::Complex
source · #[repr(C)]pub struct Complex {
pub re: f32,
pub im: f32,
}
Expand description
A complex number.
Fields§
§re: f32
The real component.
im: f32
The imaginary component.
Implementations§
Trait Implementations§
source§impl AddAssign for Complex
impl AddAssign for Complex
source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+=
operation. Read moresource§impl DivAssign for Complex
impl DivAssign for Complex
source§fn div_assign(&mut self, rhs: Self)
fn div_assign(&mut self, rhs: Self)
Performs the
/=
operation. Read moresource§impl MulAssign for Complex
impl MulAssign for Complex
source§fn mul_assign(&mut self, rhs: Self)
fn mul_assign(&mut self, rhs: Self)
Performs the
*=
operation. Read moresource§impl PartialEq for Complex
impl PartialEq for Complex
source§impl SubAssign for Complex
impl SubAssign for Complex
source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-=
operation. Read moreimpl Copy for Complex
impl StructuralPartialEq for Complex
Auto Trait Implementations§
impl RefUnwindSafe for Complex
impl Send for Complex
impl Sync for Complex
impl Unpin 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