Struct gltf_json::asset::Asset
[−]
[src]
pub struct Asset { pub copyright: Option<String>, pub extensions: Asset, pub extras: Extras, pub generator: Option<String>, pub min_version: Option<String>, pub version: String, }
Metadata about the glTF asset.
Fields
copyright: Option<String>
A copyright message suitable for display to credit the content creator.
extensions: Asset
Extension specific data.
extras: Extras
Optional application specific data.
generator: Option<String>
Tool that generated this glTF model.
min_version: Option<String>
The minimum glTF version that this asset targets.
version: String
The glTF version of this asset.
Trait Implementations
impl Clone for Asset
[src]
fn clone(&self) -> Asset
[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 Debug for Asset
[src]
impl Validate for Asset
[src]
fn validate_minimally<P, R>(&self, _root: &Root, _path: P, _report: &mut R) where
P: Fn() -> Path,
R: FnMut(&Fn() -> Path, Error),
[src]
P: Fn() -> Path,
R: FnMut(&Fn() -> Path, Error),
Validates only the invariants required for the library to function safely.
fn validate_completely<P, R>(&self, _root: &Root, _path: P, _report: &mut R) where
P: Fn() -> Path,
R: FnMut(&Fn() -> Path, Error),
[src]
P: Fn() -> Path,
R: FnMut(&Fn() -> Path, Error),
Validates the data against the glTF 2.0 specification. Read more