#[repr(C)]pub struct complexf_t {
pub re: f32,
pub im: f32,
}Expand description
Floating complex type.
Fields§
§re: f32\brief Real part.
im: f32\brief Imaginary part.
Trait Implementations§
Source§impl Clone for complexf_t
impl Clone for complexf_t
Source§fn clone(&self) -> complexf_t
fn clone(&self) -> complexf_t
Returns a duplicate 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 Debug for complexf_t
impl Debug for complexf_t
Source§impl Default for complexf_t
impl Default for complexf_t
Source§fn default() -> complexf_t
fn default() -> complexf_t
Returns the “default value” for a type. Read more
impl Copy for complexf_t
Auto Trait Implementations§
impl Freeze for complexf_t
impl RefUnwindSafe for complexf_t
impl Send for complexf_t
impl Sync for complexf_t
impl Unpin for complexf_t
impl UnwindSafe for complexf_t
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