Enum gltf_importer::config::ValidationStrategy
[−]
[src]
pub enum ValidationStrategy { Complete, Minimal, Skip, }
Describes the validation strategy of an Importer
.
Variants
Complete
Validate the whole glTF against the 2.0 specification.
This is achieved primarily by calling Validate::validate_completely
on the
root JSON data structure.
Minimal
Validate only the invariants required for the crate to function safely.
This is achieved primarily by calling Validate::validate_minimally
on the
root JSON data structure.
Skip
Skip the validation stage. Using this is highly recommended against as malformed glTF assets might lead to program panics, huge values, NaNs and general evil deeds.
Trait Implementations
impl Clone for ValidationStrategy
[src]
fn clone(&self) -> ValidationStrategy
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for ValidationStrategy
[src]
impl Debug for ValidationStrategy
[src]
impl Eq for ValidationStrategy
[src]
impl PartialEq for ValidationStrategy
[src]
fn eq(&self, __arg_0: &ValidationStrategy) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Default for ValidationStrategy
[src]
fn default() -> ValidationStrategy
[src]
Returns the "default value" for a type. Read more