[−][src]Struct dot_vox::DotVoxData
Container for .vox file data
Fields
version: u32
The version number of the .vox file.
models: Vec<Model>
A Vec of all the models contained within this file.
palette: Vec<u32>
A Vec containing the colour palette as 32-bit integers
materials: Vec<Material>
A Vec containing all the Materials set
Methods
impl DotVoxData
[src]
pub fn write_vox<W: Write>(&self, writer: &mut W) -> Result<(), Error>
[src]
Serializes self
in the VOX format.
TODO: write the material set
Trait Implementations
impl Debug for DotVoxData
[src]
impl PartialEq<DotVoxData> for DotVoxData
[src]
fn eq(&self, other: &DotVoxData) -> bool
[src]
fn ne(&self, other: &DotVoxData) -> bool
[src]
impl StructuralPartialEq for DotVoxData
[src]
Auto Trait Implementations
impl RefUnwindSafe for DotVoxData
impl Send for DotVoxData
impl Sync for DotVoxData
impl Unpin for DotVoxData
impl UnwindSafe for DotVoxData
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,