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.6.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 ExternType for FileExportFormat
impl ExternType for FileExportFormat
source§impl From<FileExportFormat> for FileExportFormat
impl From<FileExportFormat> for FileExportFormat
source§fn from(format: FileExportFormat) -> FileExportFormat
fn from(format: FileExportFormat) -> 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§impl PartialOrd for FileExportFormat
impl PartialOrd for FileExportFormat
source§impl Sequence for FileExportFormat
impl Sequence for FileExportFormat
source§impl Serialize for FileExportFormat
impl Serialize for FileExportFormat
impl Copy for FileExportFormat
impl Eq for FileExportFormat
impl StructuralPartialEq for FileExportFormat
Auto Trait Implementations§
impl Freeze for FileExportFormat
impl RefUnwindSafe for FileExportFormat
impl Send for FileExportFormat
impl Sync for FileExportFormat
impl Unpin for FileExportFormat
impl UnwindSafe for FileExportFormat
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more