pub enum NodeUpdate {
Content,
Draws,
Layer,
Moved,
MovedLayer,
}Expand description
What changed in a node since the scene last drew it, and so how the scene updates what it drew for that node.
Variants§
Content
Its layout, children or draw commands changed: the scene records it again.
Draws
Only state its draws read changed: its layer keeps its children and records the node’s draws again.
Layer
Its graphics-layer properties changed and it drew the same.
Moved
It moved in its parent and kept its size: its layer moves and keeps what it drew.
MovedLayer
It moved and its layer properties changed: its layer moves, takes the new properties and keeps what it drew.
Implementations§
Source§impl NodeUpdate
impl NodeUpdate
Trait Implementations§
Source§impl Clone for NodeUpdate
impl Clone for NodeUpdate
impl Copy for NodeUpdate
Source§impl Debug for NodeUpdate
impl Debug for NodeUpdate
impl Eq for NodeUpdate
Source§impl PartialEq for NodeUpdate
impl PartialEq for NodeUpdate
impl StructuralPartialEq for NodeUpdate
Auto Trait Implementations§
impl Forget for NodeUpdate
impl Freeze for NodeUpdate
impl RefUnwindSafe for NodeUpdate
impl Send for NodeUpdate
impl Sync for NodeUpdate
impl Unpin for NodeUpdate
impl UnsafeUnpin for NodeUpdate
impl UnwindSafe for NodeUpdate
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