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<'expr> AsExpression<Nullable<Text>> for &'expr FileExportFormat
impl<'expr> AsExpression<Nullable<Text>> for &'expr FileExportFormat
§type Expression = Bound<Nullable<Text>, &'expr FileExportFormat>
type Expression = Bound<Nullable<Text>, &'expr FileExportFormat>
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Nullable<Text>> for FileExportFormat
impl AsExpression<Nullable<Text>> for FileExportFormat
§type Expression = Bound<Nullable<Text>, FileExportFormat>
type Expression = Bound<Nullable<Text>, FileExportFormat>
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
source§impl<'expr> AsExpression<Text> for &'expr FileExportFormat
impl<'expr> AsExpression<Text> for &'expr FileExportFormat
§type Expression = Bound<Text, &'expr FileExportFormat>
type Expression = Bound<Text, &'expr FileExportFormat>
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
source§impl AsExpression<Text> for FileExportFormat
impl AsExpression<Text> for FileExportFormat
§type Expression = Bound<Text, FileExportFormat>
type Expression = Bound<Text, FileExportFormat>
source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
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 ExternType for FileExportFormat
impl ExternType 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<DB> FromSql<Text, DB> for FileExportFormat
impl<DB> FromSql<Text, DB> for FileExportFormat
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 moresource§impl<__ST, __DB> Queryable<__ST, __DB> for FileExportFormat
impl<__ST, __DB> Queryable<__ST, __DB> 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> 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, ST, DB> FromSqlRow<ST, DB> for Twhere
T: Queryable<ST, DB>,
ST: SqlTypeOrSelectable,
DB: Backend,
<T as Queryable<ST, DB>>::Row: FromStaticSqlRow<ST, DB>,
impl<T, ST, DB> FromSqlRow<ST, DB> for Twhere
T: Queryable<ST, DB>,
ST: SqlTypeOrSelectable,
DB: Backend,
<T as Queryable<ST, DB>>::Row: FromStaticSqlRow<ST, DB>,
source§impl<T, ST, DB> FromStaticSqlRow<ST, DB> for T
impl<T, ST, DB> FromStaticSqlRow<ST, DB> for T
source§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
type Err = Infallible
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Err>
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
&self
to an expression for Diesel’s query builder. Read more