#[repr(C)]pub struct cufftComplex {
pub x: f32,
pub y: f32,
}Expand description
Single-precision complex element layout. Interleaved real/imag
pairs — #[repr(C)] matches NVIDIA’s cufftComplex struct exactly
(which is itself an alias for float2 in <vector_types.h>). The
plan layer pairs this with the crate-level Complex32 newtype.
Fields§
§x: f32Real component.
y: f32Imaginary component.
Trait Implementations§
Source§impl Clone for cufftComplex
impl Clone for cufftComplex
Source§fn clone(&self) -> cufftComplex
fn clone(&self) -> cufftComplex
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for cufftComplex
Source§impl Debug for cufftComplex
impl Debug for cufftComplex
Source§impl Default for cufftComplex
impl Default for cufftComplex
Source§fn default() -> cufftComplex
fn default() -> cufftComplex
Returns the “default value” for a type. Read more
Source§impl PartialEq for cufftComplex
impl PartialEq for cufftComplex
Source§fn eq(&self, other: &cufftComplex) -> bool
fn eq(&self, other: &cufftComplex) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for cufftComplex
Auto Trait Implementations§
impl Freeze for cufftComplex
impl RefUnwindSafe for cufftComplex
impl Send for cufftComplex
impl Sync for cufftComplex
impl Unpin for cufftComplex
impl UnsafeUnpin for cufftComplex
impl UnwindSafe for cufftComplex
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