Enum feo_oop_engine::event::UserEvent
source · [−]pub enum UserEvent<T: 'static + Clone + Send + Sync> {
RebuildSwapchain,
Collision(Arc<RwLock<dyn GameObject>>, Arc<RwLock<dyn GameObject>>),
WinitEvent(Event<'static, Box<UserEvent<T>>>),
UserEvent(T),
None,
}Variants
RebuildSwapchain
Collision(Arc<RwLock<dyn GameObject>>, Arc<RwLock<dyn GameObject>>)
WinitEvent(Event<'static, Box<UserEvent<T>>>)
UserEvent(T)
None
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for UserEvent<T> where
T: RefUnwindSafe,
impl<T> !UnwindSafe for UserEvent<T>
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.