pub enum Data {
Settings,
Supports {
model: usize,
},
Hollow {
model: usize,
},
SupportPreview {
leaf: usize,
},
Surface {
leaf: usize,
kind: u8,
},
Volume {
model: usize,
kind: u8,
mesh: usize,
},
ProgramData {
node: Option<usize>,
},
Mesh {
mesh: usize,
},
Scene,
Roles,
Metadata,
Chunk {
tag: [u8; 4],
},
}Expand description
A part of a file, named by its indices in the original file.
Variants§
Settings
The project settings (PROJ).
Supports
The supports entry of a model (SUPP).
Hollow
The hollows entry of a model (HOLW).
SupportPreview
The support preview of a support leaf (SPRV).
Surface
A surface paint entry (SURF).
Volume
A volume entry (VOLM).
ProgramData
A program data entry (PROG), about a node or the whole file.
Mesh
A mesh of the scene.
Scene
The scene apart from what its meshes hold: its nodes, transforms and mesh resources, and how many meshes it has.
Roles
The roles (ROLE).
Metadata
The metadata (META).
Chunk
A chunk this build does not know, by its tag.
Trait Implementations§
impl Eq for Data
impl StructuralPartialEq for Data
Auto Trait Implementations§
impl Forget for Data
impl Freeze for Data
impl Move for Data
impl RefUnwindSafe for Data
impl Send for Data
impl Sync for Data
impl Unpin for Data
impl UnsafeUnpin for Data
impl UnwindSafe for Data
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