pub struct AllDifferentExcept<V: Clone + PartialEq + Debug> { /* private fields */ }Expand description
All-different over the scope, except that the configured sentinel
value may be assigned to any number of variables.
Non-sentinel assignments must remain pairwise distinct.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<V> Freeze for AllDifferentExcept<V>where
V: Freeze,
impl<V> RefUnwindSafe for AllDifferentExcept<V>where
V: RefUnwindSafe,
impl<V> Send for AllDifferentExcept<V>where
V: Send,
impl<V> Sync for AllDifferentExcept<V>where
V: Sync,
impl<V> Unpin for AllDifferentExcept<V>where
V: Unpin,
impl<V> UnsafeUnpin for AllDifferentExcept<V>where
V: UnsafeUnpin,
impl<V> UnwindSafe for AllDifferentExcept<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