Expand description
A renderable voxel model.
Fields
size: SizeThe size of the model in voxels.
voxels: Vec<Voxel>The voxels to be displayed.
Implementations
sourceimpl Model
impl Model
sourcepub fn num_vox_bytes(&self) -> u32
pub fn num_vox_bytes(&self) -> u32
Number of bytes when encoded in .vox format.
Trait Implementations
impl Eq for Model
impl StructuralEq for Model
impl StructuralPartialEq for Model
Auto Trait Implementations
impl RefUnwindSafe for Model
impl Send for Model
impl Sync for Model
impl Unpin for Model
impl UnwindSafe for Model
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more