pub struct Executor {
pub ready: Vec<Arc<RwLock<Box<dyn GameObject>>>>,
pub queue: Receiver<Arc<Task>>,
}Fields
ready: Vec<Arc<RwLock<Box<dyn GameObject>>>>queue: Receiver<Arc<Task>>Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Executor
impl !UnwindSafe for Executor
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.