Struct makepad_math::complex::ComplexF32
source · pub struct ComplexF32 {
pub re: f32,
pub im: f32,
}
Fields§
§re: f32
§im: f32
Implementations§
Trait Implementations§
source§impl Clone for ComplexF32
impl Clone for ComplexF32
source§fn clone(&self) -> ComplexF32
fn clone(&self) -> ComplexF32
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.
impl Copy for ComplexF32
Auto Trait Implementations§
impl RefUnwindSafe for ComplexF32
impl Send for ComplexF32
impl Sync for ComplexF32
impl Unpin for ComplexF32
impl UnwindSafe for ComplexF32
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