pub trait Validate {
// Provided method
fn validate<P, R>(&self, _root: &Root, _path: P, _report: &mut R)
where P: Fn() -> Path,
R: FnMut(&dyn Fn() -> Path, Error) { ... }
}
Expand description
Trait for validating glTF JSON data so that the library can function without panicking.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.