pub trait Convert<S>: Sized {
// Required method
fn convert(src: S) -> Self;
}Expand description
Trait for converting between voxel types.
This enables the type-level conversion graph described in engine.md.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.