#[repr(C, align(32))]pub struct AlignedBuffer<const N: usize> {
pub data: [f64; N],
}Expand description
Memory-aligned buffer for SIMD operations
Fields§
§data: [f64; N]Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<const N: usize> Freeze for AlignedBuffer<N>
impl<const N: usize> RefUnwindSafe for AlignedBuffer<N>
impl<const N: usize> Send for AlignedBuffer<N>
impl<const N: usize> Sync for AlignedBuffer<N>
impl<const N: usize> Unpin for AlignedBuffer<N>
impl<const N: usize> UnwindSafe for AlignedBuffer<N>
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