pub enum DebugShapeEvent {
Created(DebugShapeAsset),
Destroyed {
handle: DebugShapeHandle,
},
ClearAll,
}Expand description
Lifecycle event for persistent debug shape assets.
Variants§
Created(DebugShapeAsset)
A new renderer asset should be created or refreshed.
Destroyed
A previously emitted asset should be removed from renderer caches.
Fields
§
handle: DebugShapeHandleRetired handle.
ClearAll
The owning world has invalidated every debug handle.
Trait Implementations§
Source§impl Clone for DebugShapeEvent
impl Clone for DebugShapeEvent
Source§fn clone(&self) -> DebugShapeEvent
fn clone(&self) -> DebugShapeEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DebugShapeEvent
impl Debug for DebugShapeEvent
Source§impl PartialEq for DebugShapeEvent
impl PartialEq for DebugShapeEvent
Source§fn eq(&self, other: &DebugShapeEvent) -> bool
fn eq(&self, other: &DebugShapeEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DebugShapeEvent
Auto Trait Implementations§
impl Freeze for DebugShapeEvent
impl RefUnwindSafe for DebugShapeEvent
impl Send for DebugShapeEvent
impl Sync for DebugShapeEvent
impl Unpin for DebugShapeEvent
impl UnsafeUnpin for DebugShapeEvent
impl UnwindSafe for DebugShapeEvent
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