Skip to main content

Outcome

Trait Outcome 

Source
pub trait Outcome: Debug + 'static { }
Expand description

Observed outcome after a decision was executed.

Implementations define what constitutes an “outcome” for their domain. Examples: actual frame time (u64), actual resize inter-arrival (f64), whether the diff strategy matched (bool).

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Outcome for bool

Source§

impl Outcome for f64

Source§

impl Outcome for u32

Source§

impl Outcome for u64

Implementors§