Struct subplot::MatchedScenario
source · pub struct MatchedScenario { /* private fields */ }
Expand description
A scenario that has all of its steps matched with steps using bindings.
Implementations§
source§impl MatchedScenario
impl MatchedScenario
sourcepub fn new(
template: &str,
scen: &Scenario,
bindings: &Bindings
) -> Result<MatchedScenario, SubplotError>
pub fn new( template: &str, scen: &Scenario, bindings: &Bindings ) -> Result<MatchedScenario, SubplotError>
Construct a new matched scenario
sourcepub fn steps(&self) -> &[MatchedStep]
pub fn steps(&self) -> &[MatchedStep]
Get the steps in this matched scenario
Trait Implementations§
source§impl Debug for MatchedScenario
impl Debug for MatchedScenario
source§impl<'de> Deserialize<'de> for MatchedScenario
impl<'de> Deserialize<'de> for MatchedScenario
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for MatchedScenario
impl Send for MatchedScenario
impl Sync for MatchedScenario
impl Unpin for MatchedScenario
impl UnwindSafe for MatchedScenario
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