Enum gltf_importer::config::ValidationStrategy [] [src]

pub enum ValidationStrategy {
    Complete,
    Minimal,
    Skip,
}

Describes the validation strategy of an Importer.

Variants

Validate the whole glTF against the 2.0 specification.

This is achieved primarily by calling Validate::validate_completely on the root JSON data structure.

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 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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for ValidationStrategy
[src]

impl Debug for ValidationStrategy
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for ValidationStrategy
[src]

impl PartialEq for ValidationStrategy
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Default for ValidationStrategy
[src]

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations