Struct Scene
pub struct Scene {
pub materials: Vec<Material>,
pub objects: Vec<Obj>,
}Expand description
The whole scene (/api/scene/).
Fields§
§materials: Vec<Material>All materials in the scene.
objects: Vec<Obj>All objects in the scene.
Trait Implementations§
§impl<'de> Deserialize<'de> for Scene
impl<'de> Deserialize<'de> for Scene
§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 Scene
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