pub struct XAllDifferentExcept<'a> { /* private fields */ }Implementations§
Source§impl<'a> XAllDifferentExcept<'a>
impl<'a> XAllDifferentExcept<'a>
pub fn from_str( list: &str, except_str: &str, set: &'a XVariableSet, ) -> Result<Self, Xcsp3Error>
pub fn new( scope: Vec<XVarVal>, set: &'a XVariableSet, except: Vec<XVarVal>, ) -> Self
Sourcepub fn get_except(&self) -> &Vec<XVarVal>
pub fn get_except(&self) -> &Vec<XVarVal>
return the except vec of the XAllDifferentExcept constraint
Trait Implementations§
Source§impl Display for XAllDifferentExcept<'_>
impl Display for XAllDifferentExcept<'_>
Source§impl XConstraintTrait for XAllDifferentExcept<'_>
impl XConstraintTrait for XAllDifferentExcept<'_>
Source§fn get_scope_string(&self) -> &Vec<XVarVal>
fn get_scope_string(&self) -> &Vec<XVarVal>
get the scope string of constraint
Auto Trait Implementations§
impl<'a> Freeze for XAllDifferentExcept<'a>
impl<'a> !RefUnwindSafe for XAllDifferentExcept<'a>
impl<'a> Send for XAllDifferentExcept<'a>
impl<'a> Sync for XAllDifferentExcept<'a>
impl<'a> Unpin for XAllDifferentExcept<'a>
impl<'a> !UnwindSafe for XAllDifferentExcept<'a>
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