Skip to main content

Module model

Module model 

Source
Expand description

ModelRuntime - role trait for model implementations.

Per docs/ROLES.md §5. The trait carries the universal pair (atomic_opset + dispatch_atomic); the engine routes through dispatch_atomic. Author Contract impls (crate::contracts::Model) define the user-facing surface; #[derive(bb::Model)] emits the bridge into ModelRuntime::dispatch_atomic.

Traits§

ModelRuntime
Role trait for model implementations.