pub enum InputFormat {
    Fbx(Options),
    Gltf(Options),
    Obj(Options),
    Ply(Options),
    Sldprt(Options),
    Step(ImportOptions),
    Stl(Options),
}Expand description
Input format specifier.
Variants§
Fbx(Options)
Autodesk Filmbox (FBX) format.
Gltf(Options)
Binary glTF 2.0. We refer to this as glTF since that is how our customers refer to it, but this can also import binary glTF (glb).
Obj(Options)
Wavefront OBJ format.
Ply(Options)
The PLY Polygon File Format.
Sldprt(Options)
SolidWorks part (SLDPRT) format.
Step(ImportOptions)
ISO 10303-21 (STEP) format.
Stl(Options)
STereoLithography format.
Trait Implementations§
source§impl Clone for InputFormat
 
impl Clone for InputFormat
source§fn clone(&self) -> InputFormat
 
fn clone(&self) -> InputFormat
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Debug for InputFormat
 
impl Debug for InputFormat
source§impl<'de> Deserialize<'de> for InputFormat
 
impl<'de> Deserialize<'de> for InputFormat
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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for InputFormat
 
impl Display for InputFormat
source§impl From<FileImportFormat> for InputFormat
 
impl From<FileImportFormat> for InputFormat
source§fn from(import_format: FileImportFormat) -> Self
 
fn from(import_format: FileImportFormat) -> Self
Converts to this type from the input type.
source§impl From<InputFormat> for FileImportFormat
 
impl From<InputFormat> for FileImportFormat
source§fn from(input_format: InputFormat) -> Self
 
fn from(input_format: InputFormat) -> Self
Converts to this type from the input type.
source§impl FromStr for InputFormat
 
impl FromStr for InputFormat
source§impl Hash for InputFormat
 
impl Hash for InputFormat
source§impl JsonSchema for InputFormat
 
impl JsonSchema for InputFormat
source§fn schema_name() -> String
 
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
 
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
 
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
 
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the 
$ref keyword. Read moresource§impl PartialEq for InputFormat
 
impl PartialEq for InputFormat
source§fn eq(&self, other: &InputFormat) -> bool
 
fn eq(&self, other: &InputFormat) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for InputFormat
 
impl Serialize for InputFormat
impl Eq for InputFormat
impl StructuralPartialEq for InputFormat
Auto Trait Implementations§
impl RefUnwindSafe for InputFormat
impl Send for InputFormat
impl Sync for InputFormat
impl Unpin for InputFormat
impl UnwindSafe for InputFormat
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