pub struct Executor {
pub entity: Rc<Entity>,
/* private fields */
}Expand description
Single-threaded executor
This is a thin-wrapper (using Rc) around the real executor, so that this
struct can be cloned and passed around.
See the module documentation for more details.
Fields§
§entity: Rc<Entity>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Executor
impl !RefUnwindSafe for Executor
impl !Send for Executor
impl !Sync for Executor
impl Unpin for Executor
impl !UnwindSafe for Executor
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