pub struct TransitionSchema {
pub name: TransitionId,
pub from: Vec<PhaseId>,
pub on: TriggerMatch,
pub guards: Vec<Guard>,
pub updates: Vec<Update>,
pub to: PhaseId,
pub emit: Vec<EffectEmit>,
}Fields§
§name: TransitionId§from: Vec<PhaseId>§on: TriggerMatch§guards: Vec<Guard>§updates: Vec<Update>§to: PhaseId§emit: Vec<EffectEmit>Trait Implementations§
Source§impl Clone for TransitionSchema
impl Clone for TransitionSchema
Source§fn clone(&self) -> TransitionSchema
fn clone(&self) -> TransitionSchema
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 TransitionSchema
impl Debug for TransitionSchema
impl Eq for TransitionSchema
Source§impl PartialEq for TransitionSchema
impl PartialEq for TransitionSchema
Source§fn eq(&self, other: &TransitionSchema) -> bool
fn eq(&self, other: &TransitionSchema) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TransitionSchema
Auto Trait Implementations§
impl Freeze for TransitionSchema
impl RefUnwindSafe for TransitionSchema
impl Send for TransitionSchema
impl Sync for TransitionSchema
impl Unpin for TransitionSchema
impl UnsafeUnpin for TransitionSchema
impl UnwindSafe for TransitionSchema
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.