pub struct CharacterizationScenario {
pub spec: ScenarioSpec,
/* private fields */
}Expand description
Registered scenario metadata and its bounded driver.
Fields§
§spec: ScenarioSpecExplicit scenario contract.
Implementations§
Source§impl CharacterizationScenario
impl CharacterizationScenario
Sourcepub fn new(spec: ScenarioSpec, driver: ScenarioDriver) -> Self
pub fn new(spec: ScenarioSpec, driver: ScenarioDriver) -> Self
Pair a scenario contract with its driver.
Trait Implementations§
Source§impl Clone for CharacterizationScenario
impl Clone for CharacterizationScenario
Source§fn clone(&self) -> CharacterizationScenario
fn clone(&self) -> CharacterizationScenario
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for CharacterizationScenario
impl !UnwindSafe for CharacterizationScenario
impl Freeze for CharacterizationScenario
impl Send for CharacterizationScenario
impl Sync for CharacterizationScenario
impl Unpin for CharacterizationScenario
impl UnsafeUnpin for CharacterizationScenario
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