pub struct Scenario { /* private fields */ }Implementations§
Source§impl Scenario
impl Scenario
pub fn id(&self) -> &ScenarioId
pub fn source_spec(&self) -> &ScenarioSpec
pub fn nodes(&self) -> &BTreeMap<NodeId, ScenarioNode>
pub fn edges(&self) -> &BTreeMap<EdgeId, ScenarioEdge>
Trait Implementations§
Source§impl From<&Scenario> for ScenarioSpec
impl From<&Scenario> for ScenarioSpec
Source§impl From<Scenario> for ScenarioSpec
impl From<Scenario> for ScenarioSpec
Source§impl TryFrom<Scenario> for CompiledScenario
impl TryFrom<Scenario> for CompiledScenario
Source§impl TryFrom<ScenarioSpec> for Scenario
impl TryFrom<ScenarioSpec> for Scenario
Source§type Error = SetupError
type Error = SetupError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for Scenario
impl RefUnwindSafe for Scenario
impl Send for Scenario
impl Sync for Scenario
impl Unpin for Scenario
impl UnsafeUnpin for Scenario
impl UnwindSafe for Scenario
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