#[repr(C)]pub struct FP12 {
pub rows: i32,
pub columns: i32,
pub array: [f64; 1],
}Expand description
Variable-length rectangular floating-point array.
The SDK declares array[1], but an allocation contains rows * columns
entries. This raw definition intentionally preserves the one-element C
tail.
Fields§
§rows: i32Number of rows in the flexible-array payload.
columns: i32Number of columns in the flexible-array payload.
array: [f64; 1]First element of the C flexible-array tail.
§Safety
Only index past this element after validating the rows * columns
allocation extent and pointer lifetime.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FP12
impl RefUnwindSafe for FP12
impl Send for FP12
impl Sync for FP12
impl Unpin for FP12
impl UnsafeUnpin for FP12
impl UnwindSafe for FP12
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