pub struct ProgramEvent {
pub kind: ProgramEventKind,
pub atom: Option<usize>,
pub edge: Option<EdgeKey>,
pub guard: Option<ReductionGuardKind>,
}Expand description
One event reported by a program update.
Fields§
§kind: ProgramEventKindKind of change.
atom: Option<usize>Affected atom, when one exists.
edge: Option<EdgeKey>Affected edge, when one exists.
guard: Option<ReductionGuardKind>Failed guard kind, when one exists.
Trait Implementations§
Source§impl Clone for ProgramEvent
impl Clone for ProgramEvent
Source§fn clone(&self) -> ProgramEvent
fn clone(&self) -> ProgramEvent
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 ProgramEvent
impl Debug for ProgramEvent
impl Eq for ProgramEvent
Source§impl PartialEq for ProgramEvent
impl PartialEq for ProgramEvent
impl StructuralPartialEq for ProgramEvent
Auto Trait Implementations§
impl Freeze for ProgramEvent
impl RefUnwindSafe for ProgramEvent
impl Send for ProgramEvent
impl Sync for ProgramEvent
impl Unpin for ProgramEvent
impl UnsafeUnpin for ProgramEvent
impl UnwindSafe for ProgramEvent
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<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