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