Struct gltf_json::asset::Asset [−][src]
pub struct Asset {
pub copyright: Option<String>,
pub extensions: Option<Asset>,
pub extras: Extras,
pub generator: Option<String>,
pub min_version: Option<String>,
pub version: String,
}Expand description
Metadata about the glTF asset.
Fields
copyright: Option<String>A copyright message suitable for display to credit the content creator.
extensions: Option<Asset>Extension specific data.
extras: ExtrasOptional 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: StringThe glTF version of this asset.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Asset
impl UnwindSafe for Asset
Blanket Implementations
Mutably borrows from an owned value. Read more
