Enum flatzinc::predicates::types::BasicPredParType
source · pub enum BasicPredParType {
BasicParType(BasicParType),
BasicVarType(BasicVarType),
VarSetOfInt,
IntInRange(i128, i128),
IntInSet(Vec<i128>),
BoundedFloat(f64, f64),
FloatInSet(Vec<f64>),
SubSetOfIntSet(Vec<i128>),
SubSetOfIntRange(i128, i128),
}
Variants§
BasicParType(BasicParType)
BasicVarType(BasicVarType)
VarSetOfInt
IntInRange(i128, i128)
IntInSet(Vec<i128>)
BoundedFloat(f64, f64)
FloatInSet(Vec<f64>)
SubSetOfIntSet(Vec<i128>)
SubSetOfIntRange(i128, i128)
Trait Implementations§
source§impl Clone for BasicPredParType
impl Clone for BasicPredParType
source§fn clone(&self) -> BasicPredParType
fn clone(&self) -> BasicPredParType
Returns a copy of the value. Read more
1.0.0 · 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 BasicPredParType
impl Debug for BasicPredParType
source§impl PartialEq for BasicPredParType
impl PartialEq for BasicPredParType
source§fn eq(&self, other: &BasicPredParType) -> bool
fn eq(&self, other: &BasicPredParType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BasicPredParType
Auto Trait Implementations§
impl Freeze for BasicPredParType
impl RefUnwindSafe for BasicPredParType
impl Send for BasicPredParType
impl Sync for BasicPredParType
impl Unpin for BasicPredParType
impl UnwindSafe for BasicPredParType
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