pub trait VoxelImageDecoding: VoxelImageEncoding {
// Required methods
fn start(ws: &Self::Output) -> Option<Self::Workspace>;
fn get_block(ws: &Self::Workspace, x: u32, y: u32, is_border: bool) -> Block;
}
Required Methods§
fn start(ws: &Self::Output) -> Option<Self::Workspace>
fn get_block(ws: &Self::Workspace, x: u32, y: u32, is_border: bool) -> Block
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.