pub struct Transition<'e, T: TimeType> { /* private fields */ }Expand description
A transition of an automaton network.
Implementations§
Source§impl<'e, T: TimeType> Transition<'e, T>
impl<'e, T: TimeType> Transition<'e, T>
Sourcepub fn local_actions(&self) -> &[Action]
pub fn local_actions(&self) -> &[Action]
Returns a slice of actions the participating automata perform.
Sourcepub fn edges(&self) -> Vec<EdgeReference>
pub fn edges(&self) -> Vec<EdgeReference>
Returns a vector of indices of the participating automata.
Sourcepub fn valuations(&self) -> &T::Valuations
pub fn valuations(&self) -> &T::Valuations
Returns the clock valuations for which the transition is performed.
Sourcepub fn result_action(&self) -> &Action
pub fn result_action(&self) -> &Action
Returns the resulting action.
Sourcepub fn replace_valuations(self, valuations: T::Valuations) -> Self
pub fn replace_valuations(self, valuations: T::Valuations) -> Self
Replaces the valuations of the transition.
pub fn edge_references(&self) -> Vec<EdgeReference>
Auto Trait Implementations§
impl<'e, T> Freeze for Transition<'e, T>
impl<'e, T> !RefUnwindSafe for Transition<'e, T>
impl<'e, T> Send for Transition<'e, T>where
<T as TimeType>::Valuations: Send,
<T as TimeType>::CompiledClocks: Sync,
<T as TimeType>::CompiledDifference: Sync,
impl<'e, T> Sync for Transition<'e, T>where
<T as TimeType>::Valuations: Sync,
<T as TimeType>::CompiledClocks: Sync,
<T as TimeType>::CompiledDifference: Sync,
impl<'e, T> Unpin for Transition<'e, T>
impl<'e, T> !UnwindSafe for Transition<'e, T>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more