axiolid-contracts 0.3.2

Common backend-neutral execution and diagnostic contracts
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Open backend contract. Implementations live in separate crates.

use crate::BackendDescriptor;

/// Runtime geometry backend metadata.
///
/// The trait is intentionally unsealed: a downstream x86, ARM, CUDA, Metal,
/// WebGPU, or domain-specific accelerator crate owns its backend type and can
/// implement this trait without modifying Axiolid.
pub trait Backend: core::fmt::Debug + Send + Sync {
    /// Runtime descriptor and capability inventory.
    fn descriptor(&self) -> BackendDescriptor;
}