pub struct FlowTransition { /* private fields */ }Expand description
One declared transition edge.
Implementations§
Source§impl FlowTransition
impl FlowTransition
Sourcepub const fn new(
source: NodeId,
pattern: ExitPattern,
target: FlowTarget,
) -> Self
pub const fn new( source: NodeId, pattern: ExitPattern, target: FlowTarget, ) -> Self
Declares one directed transition selected by an exit pattern.
Sourcepub const fn pattern(&self) -> &ExitPattern
pub const fn pattern(&self) -> &ExitPattern
Borrows the selecting pattern.
Sourcepub const fn target(&self) -> &FlowTarget
pub const fn target(&self) -> &FlowTarget
Borrows the selected target.
Trait Implementations§
Source§impl Clone for FlowTransition
impl Clone for FlowTransition
Source§fn clone(&self) -> FlowTransition
fn clone(&self) -> FlowTransition
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 moreSource§impl Debug for FlowTransition
impl Debug for FlowTransition
impl Eq for FlowTransition
Source§impl PartialEq for FlowTransition
impl PartialEq for FlowTransition
impl StructuralPartialEq for FlowTransition
Auto Trait Implementations§
impl Freeze for FlowTransition
impl RefUnwindSafe for FlowTransition
impl Send for FlowTransition
impl Sync for FlowTransition
impl Unpin for FlowTransition
impl UnsafeUnpin for FlowTransition
impl UnwindSafe for FlowTransition
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