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
sourceimpl 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
sourceimpl Debug for MatchedScenario
impl Debug for MatchedScenario
sourceimpl<'de> Deserialize<'de> for MatchedScenario
impl<'de> Deserialize<'de> for MatchedScenario
sourcefn 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
sourceimpl Serialize for MatchedScenario
impl Serialize for MatchedScenario
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more