pub struct Scene {
pub extensions: Option<Scene>,
pub extras: Extras,
pub name: Option<String>,
pub nodes: Vec<Index<Node>>,
}
Expand description
The root Node
s of a scene.
Fields§
§extensions: Option<Scene>
Extension specific data.
extras: Extras
Optional application specific data.
name: Option<String>
Optional user-defined name for this object.
nodes: Vec<Index<Node>>
The indices of each root node.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Scene
impl<'de> Deserialize<'de> for Scene
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 Scene
impl Send for Scene
impl Sync for Scene
impl Unpin for Scene
impl UnwindSafe for Scene
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