pub struct GltfScene {
pub name: String,
pub nodes: Vec<NodeIndex>,
}Expand description
A type that contains the data from a Gltf Json ‘Scene’
Fields§
§name: StringOptional name of the scene
nodes: Vec<NodeIndex>List of nodes in the scene (should not be empty)
This can include cameras, lights, etc; each must be a root node id
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GltfScene
impl<'de> Deserialize<'de> for GltfScene
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 GltfScene
impl RefUnwindSafe for GltfScene
impl Send for GltfScene
impl Sync for GltfScene
impl Unpin for GltfScene
impl UnwindSafe for GltfScene
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