pub struct TimesPos<V> { /* private fields */ }Expand description
Scale the underlying view by a strictly positive constant factor.
Trait Implementations§
Source§impl<V: View> View for TimesPos<V>
impl<V: View> View for TimesPos<V>
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<V: Copy> Copy for TimesPos<V>
Auto Trait Implementations§
impl<V> Freeze for TimesPos<V>where
V: Freeze,
impl<V> RefUnwindSafe for TimesPos<V>where
V: RefUnwindSafe,
impl<V> Send for TimesPos<V>where
V: Send,
impl<V> Sync for TimesPos<V>where
V: Sync,
impl<V> Unpin for TimesPos<V>where
V: Unpin,
impl<V> UnwindSafe for TimesPos<V>where
V: 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