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