pub enum DomainEvent {
Assign,
LowerBound,
UpperBound,
// some variants omitted
}Expand description
A description of the kinds of events that can happen on a domain variable.
Variants§
Assign
Event where an (integer) variable domain collapses to a single value.
LowerBound
Event where an (integer) variable domain tightens the lower bound.
UpperBound
Event where an (integer) variable domain tightens the upper bound.
Trait Implementations§
Source§impl<O: Into<EnumSet<DomainEvent>>> BitAnd<O> for DomainEvent
impl<O: Into<EnumSet<DomainEvent>>> BitAnd<O> for DomainEvent
Source§impl<O: Into<EnumSet<DomainEvent>>> BitOr<O> for DomainEvent
impl<O: Into<EnumSet<DomainEvent>>> BitOr<O> for DomainEvent
Source§impl<O: Into<EnumSet<DomainEvent>>> BitXor<O> for DomainEvent
impl<O: Into<EnumSet<DomainEvent>>> BitXor<O> for DomainEvent
Source§impl Clone for DomainEvent
impl Clone for DomainEvent
Source§impl Debug for DomainEvent
impl Debug for DomainEvent
Source§impl Display for DomainEvent
impl Display for DomainEvent
Source§impl EnumSetConstHelper for DomainEvent
impl EnumSetConstHelper for DomainEvent
Source§const CONST_INIT_HELPER: __EnumSetInitHelper = __EnumSetInitHelper
const CONST_INIT_HELPER: __EnumSetInitHelper = __EnumSetInitHelper
The instance of the
ConstInitHelper.Source§const CONST_OP_HELPER: __EnumSetOpHelper = __EnumSetOpHelper
const CONST_OP_HELPER: __EnumSetOpHelper = __EnumSetOpHelper
The instance of the
ConstOpHelper.Source§type ConstInitHelper = __EnumSetInitHelper
type ConstInitHelper = __EnumSetInitHelper
A helper type used to convert values to EnumSets at compile-time.
Source§type ConstOpHelper = __EnumSetOpHelper
type ConstOpHelper = __EnumSetOpHelper
A helper type used to implement compile-time operations on enums.
Source§impl EnumSetTypePrivate for DomainEvent
impl EnumSetTypePrivate for DomainEvent
Source§const VARIANT_COUNT: u32 = 4u32
const VARIANT_COUNT: u32 = 4u32
The number of variants in the bitset.
Source§fn enum_into_u32(self) -> u32
fn enum_into_u32(self) -> u32
Converts an enum of this type into its bit position.
Source§unsafe fn enum_from_u32(val: u32) -> Self
unsafe fn enum_from_u32(val: u32) -> Self
Converts a bit position into an enum value.
Source§unsafe fn enum_from_u32_checked(val: u32) -> Self
unsafe fn enum_from_u32_checked(val: u32) -> Self
Converts a bit position into an enum value, with an debug_assert.
Source§impl From<DomainEvent> for OpaqueDomainEvent
impl From<DomainEvent> for OpaqueDomainEvent
Source§fn from(event: DomainEvent) -> Self
fn from(event: DomainEvent) -> Self
Converts to this type from the input type.
Source§impl From<DomainEvent> for PredicateType
impl From<DomainEvent> for PredicateType
Source§fn from(value: DomainEvent) -> Self
fn from(value: DomainEvent) -> Self
Converts to this type from the input type.
Source§impl Hash for DomainEvent
impl Hash for DomainEvent
Source§impl Not for DomainEvent
impl Not for DomainEvent
Source§impl PartialEq<EnumSet<DomainEvent>> for DomainEvent
impl PartialEq<EnumSet<DomainEvent>> for DomainEvent
Source§impl PartialEq for DomainEvent
impl PartialEq for DomainEvent
Source§impl<O: Into<EnumSet<DomainEvent>>> Sub<O> for DomainEvent
impl<O: Into<EnumSet<DomainEvent>>> Sub<O> for DomainEvent
impl Copy for DomainEvent
impl EnumSetType for DomainEvent
impl Eq for DomainEvent
Auto Trait Implementations§
impl Freeze for DomainEvent
impl RefUnwindSafe for DomainEvent
impl Send for DomainEvent
impl Sync for DomainEvent
impl Unpin for DomainEvent
impl UnwindSafe for DomainEvent
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<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
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.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 moreSource§impl<Value> Statistic for Valuewhere
Value: Display,
impl<Value> Statistic for Valuewhere
Value: Display,
Source§fn log(&self, statistic_logger: StatisticLogger)
fn log(&self, statistic_logger: StatisticLogger)
Logs the
Statistic using the provided StatisticLogger.