Trait gltf_json::validation::Validate []

pub trait Validate {
    fn validate_minimally<P, R>(&self, _root: &Root, _path: P, _report: &mut R)
    where
        P: Fn() -> Path,
        R: FnMut(&Fn() -> Path, Error)
, { ... }
fn validate_completely<P, R>(&self, _root: &Root, _path: P, _report: &mut R)
    where
        P: Fn() -> Path,
        R: FnMut(&Fn() -> Path, Error)
, { ... } }

Trait for validating glTF JSON data against the 2.0 specification.

Provided Methods

Validates only the invariants required for the library to function safely.

Validates the data against the glTF 2.0 specification.

Notes

The caller must also call validate_minimally() for full validation.

Implementors