pub struct VarId(/* private fields */);
Expand description
Decision variable handle that is not bound to a specific memory location.
Trait Implementations§
source§impl View for VarId
impl View for VarId
source§fn try_set_min(self, min: i32, ctx: &mut Context<'_>) -> Option<i32>
fn try_set_min(self, min: i32, ctx: &mut Context<'_>) -> Option<i32>
Try to set the provided value as domain minimum, failing the search space on infeasibility. Read more
source§fn try_set_max(self, max: i32, ctx: &mut Context<'_>) -> Option<i32>
fn try_set_max(self, max: i32, ctx: &mut Context<'_>) -> Option<i32>
Try to the set provided value as domain maximum, failing the search space on infeasibility. Read more
source§fn get_underlying_var(self) -> Option<VarId>
fn get_underlying_var(self) -> Option<VarId>
Get the handle of the variable this view depends on.
impl Copy for VarId
Auto Trait Implementations§
impl RefUnwindSafe for VarId
impl Send for VarId
impl Sync for VarId
impl Unpin for VarId
impl UnwindSafe for VarId
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