pub struct ExecutionTiming {
pub allowed_phases: Vec<ExecutionPhase>,
pub default_phase: ExecutionPhase,
pub priority: f32,
pub importance: AgentImportance,
pub fixed_timestep: Option<Duration>,
pub dependencies: Vec<AgentDependency>,
}Expand description
Declares when and how an agent should execute within the frame pipeline.
Each agent provides its timing via Agent::execution_timing(). The
Scheduler uses this information to order and potentially skip agents
based on the current phase, budget, and dependencies.
Note: Mode filtering is done at registration time via
DccService::register_agent_for_mode(), not via this struct.
Fields§
§allowed_phases: Vec<ExecutionPhase>Phases where this agent CAN execute.
default_phase: ExecutionPhaseDefault phase if GORNA doesn’t specify one.
priority: f32Priority within the phase (higher = executed earlier).
importance: AgentImportanceImportance for budget management.
fixed_timestep: Option<Duration>Fixed timestep. If None, executes every frame.
dependencies: Vec<AgentDependency>Dependencies on other agents.
Trait Implementations§
Source§impl Clone for ExecutionTiming
impl Clone for ExecutionTiming
Source§fn clone(&self) -> ExecutionTiming
fn clone(&self) -> ExecutionTiming
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 moreSource§impl Debug for ExecutionTiming
impl Debug for ExecutionTiming
Auto Trait Implementations§
impl Freeze for ExecutionTiming
impl RefUnwindSafe for ExecutionTiming
impl Send for ExecutionTiming
impl Sync for ExecutionTiming
impl Unpin for ExecutionTiming
impl UnsafeUnpin for ExecutionTiming
impl UnwindSafe for ExecutionTiming
Blanket Implementations§
Source§impl<T> AppLifecycle for Twhere
T: ?Sized,
impl<T> AppLifecycle for Twhere
T: ?Sized,
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