pub struct SceneGraph {
pub objects: Vec<SceneObject>,
pub edges: Vec<SceneEdge>,
pub timestamp: i64,
}Expand description
A scene graph representing spatial relationships between objects.
Fields§
§objects: Vec<SceneObject>§edges: Vec<SceneEdge>§timestamp: i64Implementations§
Source§impl SceneGraph
impl SceneGraph
Trait Implementations§
Source§impl Clone for SceneGraph
impl Clone for SceneGraph
Source§fn clone(&self) -> SceneGraph
fn clone(&self) -> SceneGraph
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SceneGraph
impl Debug for SceneGraph
Source§impl Default for SceneGraph
impl Default for SceneGraph
Source§fn default() -> SceneGraph
fn default() -> SceneGraph
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SceneGraph
impl<'de> Deserialize<'de> for SceneGraph
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 SceneGraph
impl RefUnwindSafe for SceneGraph
impl Send for SceneGraph
impl Sync for SceneGraph
impl Unpin for SceneGraph
impl UnsafeUnpin for SceneGraph
impl UnwindSafe for SceneGraph
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