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