Struct gltf_json::extensions::root::Root
source · pub struct Root {
pub khr_lights_punctual: Option<KhrLightsPunctual>,
pub others: Map<String, Value>,
}
Expand description
The root object of a glTF 2.0 asset.
Fields§
§khr_lights_punctual: Option<KhrLightsPunctual>
§others: Map<String, Value>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Root
impl<'de> Deserialize<'de> for Root
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 RefUnwindSafe for Root
impl Send for Root
impl Sync for Root
impl Unpin for Root
impl UnwindSafe for Root
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