#[repr(C)]pub struct Complex32 {
pub re: f32,
pub im: f32,
}Expand description
Single-precision complex number (cuFloatComplex, layout-compatible with float2).
Fields§
§re: f32§im: f32Implementations§
Trait Implementations§
impl Copy for Complex32
impl DeviceRepr for Complex32
impl StructuralPartialEq for Complex32
impl ValidAsZeroBits for Complex32
Auto Trait Implementations§
impl Freeze for Complex32
impl RefUnwindSafe for Complex32
impl Send for Complex32
impl Sync for Complex32
impl Unpin for Complex32
impl UnsafeUnpin for Complex32
impl UnwindSafe for Complex32
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