pub struct Voxel {
pub position: (u8, u8, u8),
pub colorindex: u8,
}Expand description
A single voxel.
Fields§
§position: (u8, u8, u8)§colorindex: u8Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Voxel
impl RefUnwindSafe for Voxel
impl Send for Voxel
impl Sync for Voxel
impl Unpin for Voxel
impl UnwindSafe for Voxel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more