pub enum Swap {
SwapParent(ID, Arc<RwLock<dyn GameObject>>),
SwapFull(ID, Arc<RwLock<dyn GameObject>>),
Delete(ID),
None,
}Variants
SwapParent(ID, Arc<RwLock<dyn GameObject>>)
SwapFull(ID, Arc<RwLock<dyn GameObject>>)
Delete(ID)
None
Implementations
Auto Trait Implementations
impl RefUnwindSafe for Swap
impl UnwindSafe for Swap
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.