Trait sparkl2d_core::utils::RealStruct
source · pub unsafe trait RealStruct: Pod {
const SIZE: usize = _;
fn cast(ptr: *const Real) -> *const Self { ... }
fn cast_mut(ptr: *mut Real) -> *mut Self { ... }
fn cast_slice(slice: &[Real]) -> &[Self] { ... }
fn cast_slice_mut(slice: &mut [Real]) -> &mut [Self] { ... }
}
Expand description
A structure that is composed entirely of real numbers.