eunomia 0.8.0

Atlas datatype law: the Single Source of Truth for numeric/scalar datatype vocabulary (scalars, complex, packed formats, conversions)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Byte-layout law: eunomia's native `Zeroable`/`Pod` markers and the safe
//! reinterpretation surface (`bytes_of`, `cast_slice`, `from_bytes`, …) the
//! stack marshals GPU/FFI buffers through — owned here instead of borrowed from
//! `bytemuck`. The `bytemuck` feature bridges these markers to
//! `bytemuck::{Pod, Zeroable}` for the contracts wgpu/metal/cuda fix at the
//! buffer boundary.

mod bytes;
mod marker;

pub use bytes::{
    bytes_of, bytes_of_mut, cast_slice, cast_slice_mut, from_bytes, pod_read_unaligned,
    try_cast_slice, try_cast_slice_mut, try_from_bytes, PodCastError,
};
pub use marker::{Pod, Zeroable};