Struct gltf_json::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]
impl Clone for Assetfn clone(&self) -> Asset[src]
fn clone(&self) -> AssetReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for Asset[src]
impl Debug for Assetfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Validate for Asset[src]
impl Validate for Assetfn validate_minimally<P, R>(&self, _root: &Root, _path: P, _report: &mut R) where
P: Fn() -> Path,
R: FnMut(&Fn() -> Path, Error), [src]
fn validate_minimally<P, R>(&self, _root: &Root, _path: P, _report: &mut R) where
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]
fn validate_completely<P, R>(&self, _root: &Root, _path: P, _report: &mut R) where
P: Fn() -> Path,
R: FnMut(&Fn() -> Path, Error), Validates the data against the glTF 2.0 specification. Read more
impl Default for Asset[src]
impl Default for Asset