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: 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§
source§impl<'de> Deserialize<'de> for Asset
impl<'de> Deserialize<'de> for Asset
source§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 Freeze for Asset
impl RefUnwindSafe for Asset
impl Send for Asset
impl Sync for Asset
impl Unpin for Asset
impl UnwindSafe for Asset
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more