pub enum FileImportFormat {
Fbx,
Gltf,
Obj,
Ply,
Sldprt,
Step,
Stl,
}Expand description
The valid types of source file formats.
Variants§
Fbx
Autodesk Filmbox (FBX) format. https://en.wikipedia.org/wiki/FBX
Gltf
glTF 2.0.
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)
Sldprt
SolidWorks part (SLDPRT) 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 FileImportFormat
impl Clone for FileImportFormat
source§fn clone(&self) -> FileImportFormat
fn clone(&self) -> FileImportFormat
Returns a copy of the value. Read more
1.6.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 FileImportFormat
impl Debug for FileImportFormat
source§impl<'de> Deserialize<'de> for FileImportFormat
impl<'de> Deserialize<'de> for FileImportFormat
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 FileImportFormat
impl Display for FileImportFormat
source§impl ExternType for FileImportFormat
impl ExternType for FileImportFormat
source§impl From<FileImportFormat> for FileImportFormat
impl From<FileImportFormat> for FileImportFormat
source§fn from(format: FileImportFormat) -> FileImportFormat
fn from(format: FileImportFormat) -> FileImportFormat
Converts to this type from the input type.
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 FileImportFormat
impl FromStr for FileImportFormat
source§impl JsonSchema for FileImportFormat
impl JsonSchema for FileImportFormat
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 Ord for FileImportFormat
impl Ord for FileImportFormat
source§fn cmp(&self, other: &FileImportFormat) -> Ordering
fn cmp(&self, other: &FileImportFormat) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for FileImportFormat
impl PartialEq for FileImportFormat
source§impl PartialOrd for FileImportFormat
impl PartialOrd for FileImportFormat
source§impl Sequence for FileImportFormat
impl Sequence for FileImportFormat
source§impl Serialize for FileImportFormat
impl Serialize for FileImportFormat
impl Copy for FileImportFormat
impl Eq for FileImportFormat
impl StructuralPartialEq for FileImportFormat
Auto Trait Implementations§
impl Freeze for FileImportFormat
impl RefUnwindSafe for FileImportFormat
impl Send for FileImportFormat
impl Sync for FileImportFormat
impl Unpin for FileImportFormat
impl UnwindSafe for FileImportFormat
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
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
Compare self to
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
Compare self to
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>
Converts
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>
Converts
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