#[repr(C)]pub struct Complex32 {
pub re: f32,
pub im: f32,
}Expand description
Complex number with f32 real and imaginary parts (8 bytes total).
Fields§
§re: f32§im: f32Trait Implementations§
Source§impl H5Type for Complex32
impl H5Type for Complex32
Source§fn hdf5_type() -> DatatypeMessage
fn hdf5_type() -> DatatypeMessage
Return the HDF5 datatype message describing this type.
Source§fn element_size() -> usize
fn element_size() -> usize
Return the size of a single element in bytes.
impl Copy for Complex32
impl StructuralPartialEq 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