[][src]Trait gltf_json::validation::Validate

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

Trait for validating glTF JSON data so that the library can function without panicking.

Provided methods

fn validate<P, R>(&self, _root: &Root, _path: P, _report: &mut R) where
    P: Fn() -> Path,
    R: FnMut(&dyn Fn() -> Path, Error), 

Validates the invariants required for the library to function safely.

Loading content...

Implementations on Foreign Types

impl<K: Eq + Hash + ToString + Validate, V: Validate> Validate for HashMap<K, V>[src]

impl<T: Validate> Validate for Option<T>[src]

impl<T: Validate> Validate for Vec<T>[src]

impl Validate for Box<RawValue>[src]

impl Validate for bool[src]

impl Validate for u32[src]

impl Validate for i32[src]

impl Validate for f32[src]

impl Validate for [f32; 3][src]

impl Validate for [f32; 4][src]

impl Validate for [f32; 16][src]

impl Validate for ()[src]

impl Validate for String[src]

Loading content...

Implementors

impl Validate for Value[src]

impl Validate for gltf_json::accessor::sparse::Indices[src]

impl Validate for gltf_json::accessor::sparse::Sparse[src]

impl Validate for gltf_json::accessor::sparse::Values[src]

impl Validate for gltf_json::accessor::Accessor[src]

impl Validate for Animation[src]

impl Validate for gltf_json::animation::Sampler[src]

impl Validate for gltf_json::animation::Target[src]

impl Validate for gltf_json::asset::Asset[src]

impl Validate for gltf_json::buffer::Buffer[src]

impl Validate for gltf_json::buffer::View[src]

impl Validate for gltf_json::camera::Camera[src]

impl Validate for gltf_json::camera::Orthographic[src]

impl Validate for gltf_json::camera::Perspective[src]

impl Validate for gltf_json::extensions::accessor::sparse::Indices[src]

impl Validate for gltf_json::extensions::accessor::sparse::Sparse[src]

impl Validate for gltf_json::extensions::accessor::sparse::Values[src]

impl Validate for gltf_json::extensions::accessor::Accessor[src]

impl Validate for gltf_json::extensions::animation::Sampler[src]

impl Validate for gltf_json::extensions::animation::Target[src]

impl Validate for gltf_json::extensions::asset::Asset[src]

impl Validate for gltf_json::extensions::buffer::Buffer[src]

impl Validate for gltf_json::extensions::buffer::View[src]

impl Validate for gltf_json::extensions::camera::Camera[src]

impl Validate for gltf_json::extensions::camera::Orthographic[src]

impl Validate for gltf_json::extensions::camera::Perspective[src]

impl Validate for gltf_json::extensions::image::Image[src]

impl Validate for gltf_json::extensions::material::Material[src]

impl Validate for gltf_json::extensions::material::NormalTexture[src]

impl Validate for gltf_json::extensions::material::OcclusionTexture[src]

impl Validate for gltf_json::extensions::material::PbrMetallicRoughness[src]

impl Validate for gltf_json::extensions::mesh::Mesh[src]

impl Validate for gltf_json::extensions::mesh::Primitive[src]

impl Validate for gltf_json::extensions::root::Root[src]

impl Validate for gltf_json::extensions::scene::Node[src]

impl Validate for gltf_json::extensions::scene::Scene[src]

impl Validate for gltf_json::extensions::skin::Skin[src]

impl Validate for gltf_json::extensions::texture::Info[src]

impl Validate for gltf_json::extensions::texture::Sampler[src]

impl Validate for gltf_json::extensions::texture::Texture[src]

impl Validate for Void[src]

impl Validate for gltf_json::image::Image[src]

impl Validate for MimeType[src]

impl Validate for AlphaCutoff[src]

impl Validate for EmissiveFactor[src]

impl Validate for gltf_json::material::Material[src]

impl Validate for gltf_json::material::NormalTexture[src]

impl Validate for gltf_json::material::OcclusionTexture[src]

impl Validate for PbrBaseColorFactor[src]

impl Validate for gltf_json::material::PbrMetallicRoughness[src]

impl Validate for StrengthFactor[src]

impl Validate for gltf_json::mesh::Mesh[src]

impl Validate for MorphTarget[src]

impl Validate for gltf_json::mesh::Primitive[src]

impl Validate for gltf_json::root::Root[src]

impl Validate for gltf_json::scene::Node[src]

impl Validate for gltf_json::scene::Scene[src]

impl Validate for UnitQuaternion[src]

impl Validate for gltf_json::skin::Skin[src]

impl Validate for gltf_json::texture::Info[src]

impl Validate for gltf_json::texture::Sampler[src]

impl Validate for gltf_json::texture::Texture[src]

impl<T> Validate for Checked<T>[src]

impl<T: Validate> Validate for Index<T> where
    Root: Get<T>, 
[src]

Loading content...