pub enum Value<Int> {
Bool(bool),
Int(Int),
SetOfInt(HashSet<Int>),
}Expand description
A primitive MiniZinc value.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<Int> Freeze for Value<Int>where
Int: Freeze,
impl<Int> RefUnwindSafe for Value<Int>where
Int: RefUnwindSafe,
impl<Int> Send for Value<Int>where
Int: Send,
impl<Int> Sync for Value<Int>where
Int: Sync,
impl<Int> Unpin for Value<Int>where
Int: Unpin,
impl<Int> UnwindSafe for Value<Int>where
Int: UnwindSafe,
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