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§

source

fn start(ws: &Self::Output) -> Option<Self::Workspace>

source

fn get_block(ws: &Self::Workspace, x: u32, y: u32, is_border: bool) -> Block

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'a, VIE: VoxelImageDecoding> VoxelImageDecoding for &'a VIE

source§

fn start(ws: &Self::Output) -> Option<Self::Workspace>

source§

fn get_block(ws: &Self::Workspace, x: u32, y: u32, is_border: bool) -> Block

Implementors§

source§

impl<const AVERAGE_PALETTE: bool> VoxelImageDecoding for TriPngEncoding<AVERAGE_PALETTE>

source§

impl<const N: u32> VoxelImageDecoding for QuadPngEncoding<N>