pub enum ExecutionKind {
Periodic,
EventDriven,
Other,
}Expand description
ExecutionKind (spec §5.2.2.7, p. 30-31) — defines when the
execution context invokes the component callbacks.
Variants§
Periodic
PERIODIC (§5.2.2.7.1) — on_execute + on_state_update on
every tick.
EventDriven
EVENT_DRIVEN (§5.2.2.7.2) — on_action on a discrete event.
Other
OTHER (§5.2.2.7.3) — implementor-specific.
Trait Implementations§
Source§impl Clone for ExecutionKind
impl Clone for ExecutionKind
Source§fn clone(&self) -> ExecutionKind
fn clone(&self) -> ExecutionKind
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 moreimpl Copy for ExecutionKind
Source§impl Debug for ExecutionKind
impl Debug for ExecutionKind
impl Eq for ExecutionKind
Source§impl Hash for ExecutionKind
impl Hash for ExecutionKind
Source§impl PartialEq for ExecutionKind
impl PartialEq for ExecutionKind
impl StructuralPartialEq for ExecutionKind
Auto Trait Implementations§
impl Freeze for ExecutionKind
impl RefUnwindSafe for ExecutionKind
impl Send for ExecutionKind
impl Sync for ExecutionKind
impl Unpin for ExecutionKind
impl UnsafeUnpin for ExecutionKind
impl UnwindSafe for ExecutionKind
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