Struct makepad_math::complex::ComplexF64
source · pub struct ComplexF64 {
pub re: f64,
pub im: f64,
}
Fields§
§re: f64
§im: f64
Trait Implementations§
source§impl Add<ComplexF64> for ComplexF64
impl Add<ComplexF64> for ComplexF64
§type Output = ComplexF64
type Output = ComplexF64
The resulting type after applying the
+
operator.source§fn add(self, rhs: ComplexF64) -> ComplexF64
fn add(self, rhs: ComplexF64) -> ComplexF64
Performs the
+
operation. Read moresource§impl Clone for ComplexF64
impl Clone for ComplexF64
source§fn clone(&self) -> ComplexF64
fn clone(&self) -> ComplexF64
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 moresource§impl From<ComplexF32> for ComplexF64
impl From<ComplexF32> for ComplexF64
source§fn from(v: ComplexF32) -> Self
fn from(v: ComplexF32) -> Self
Converts to this type from the input type.
source§impl From<ComplexF64> for ComplexF32
impl From<ComplexF64> for ComplexF32
source§fn from(v: ComplexF64) -> Self
fn from(v: ComplexF64) -> Self
Converts to this type from the input type.
source§impl Mul<ComplexF64> for ComplexF64
impl Mul<ComplexF64> for ComplexF64
§type Output = ComplexF64
type Output = ComplexF64
The resulting type after applying the
*
operator.source§fn mul(self, rhs: ComplexF64) -> ComplexF64
fn mul(self, rhs: ComplexF64) -> ComplexF64
Performs the
*
operation. Read moresource§impl Sub<ComplexF64> for ComplexF64
impl Sub<ComplexF64> for ComplexF64
§type Output = ComplexF64
type Output = ComplexF64
The resulting type after applying the
-
operator.source§fn sub(self, rhs: ComplexF64) -> ComplexF64
fn sub(self, rhs: ComplexF64) -> ComplexF64
Performs the
-
operation. Read moreimpl Copy for ComplexF64
Auto Trait Implementations§
impl RefUnwindSafe for ComplexF64
impl Send for ComplexF64
impl Sync for ComplexF64
impl Unpin for ComplexF64
impl UnwindSafe for ComplexF64
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