pub enum FileExportFormat {
    Fbx,
    Glb,
    Gltf,
    Obj,
    Ply,
    Step,
    Stl,
}Expand description
The valid types of output file formats.
Variants§
Fbx
Autodesk Filmbox (FBX) format. https://en.wikipedia.org/wiki/FBX
Glb
Binary glTF 2.0.
This is a single binary with .glb extension.
This is better if you want a compressed format as opposed to the human readable glTF that lacks compression.
Gltf
glTF 2.0. Embedded glTF 2.0 (pretty printed).
Single JSON file with .gltf extension binary data encoded as base64 data URIs.
The JSON contents are pretty printed.
It is human readable, single file, and you can view the diff easily in a git commit.
Obj
The OBJ file format. https://en.wikipedia.org/wiki/Wavefront_.obj_file It may or may not have an an attached material (mtl // mtllib) within the file, but we interact with it as if it does not.
Ply
The PLY file format. https://en.wikipedia.org/wiki/PLY_(file_format)
Step
The STEP file format. https://en.wikipedia.org/wiki/ISO_10303-21
Stl
The STL file format. https://en.wikipedia.org/wiki/STL_(file_format)
Trait Implementations§
source§impl Clone for FileExportFormat
 
impl Clone for FileExportFormat
source§fn clone(&self) -> FileExportFormat
 
fn clone(&self) -> FileExportFormat
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for FileExportFormat
 
impl Debug for FileExportFormat
source§impl<'de> Deserialize<'de> for FileExportFormat
 
impl<'de> Deserialize<'de> for FileExportFormat
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
source§impl Display for FileExportFormat
 
impl Display for FileExportFormat
source§impl From<FileExportFormat> for OutputFormat
 
impl From<FileExportFormat> for OutputFormat
source§fn from(export_format: FileExportFormat) -> Self
 
fn from(export_format: FileExportFormat) -> Self
source§impl From<OutputFormat> for FileExportFormat
 
impl From<OutputFormat> for FileExportFormat
source§fn from(output_format: OutputFormat) -> Self
 
fn from(output_format: OutputFormat) -> Self
source§impl FromStr for FileExportFormat
 
impl FromStr for FileExportFormat
source§impl JsonSchema for FileExportFormat
 
impl JsonSchema for FileExportFormat
source§fn schema_name() -> String
 
fn schema_name() -> String
source§fn schema_id() -> Cow<'static, str>
 
fn schema_id() -> Cow<'static, str>
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
 
fn json_schema(gen: &mut SchemaGenerator) -> Schema
source§fn is_referenceable() -> bool
 
fn is_referenceable() -> bool
$ref keyword. Read moresource§impl Ord for FileExportFormat
 
impl Ord for FileExportFormat
source§fn cmp(&self, other: &FileExportFormat) -> Ordering
 
fn cmp(&self, other: &FileExportFormat) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
    Self: Sized,
 
fn max(self, other: Self) -> Selfwhere
    Self: Sized,
source§impl PartialEq for FileExportFormat
 
impl PartialEq for FileExportFormat
source§fn eq(&self, other: &FileExportFormat) -> bool
 
fn eq(&self, other: &FileExportFormat) -> bool
self and other values to be equal, and is used
by ==.source§impl PartialOrd for FileExportFormat
 
impl PartialOrd for FileExportFormat
source§fn partial_cmp(&self, other: &FileExportFormat) -> Option<Ordering>
 
fn partial_cmp(&self, other: &FileExportFormat) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
 
fn le(&self, other: &Rhs) -> bool
self and other) and is used by the <=
operator. Read more