pub struct XAllDifferent<'a> { /* private fields */ }Implementations§
Source§impl<'a> XAllDifferent<'a>
impl<'a> XAllDifferent<'a>
pub fn from_str_vec(scope_vec_str: Vec<XVarVal>, set: &'a XVariableSet) -> Self
pub fn from_str(list: &str, set: &'a XVariableSet) -> Result<Self, Xcsp3Error>
pub fn new(scope: Vec<XVarVal>, set: &'a XVariableSet) -> Self
Trait Implementations§
Source§impl Display for XAllDifferent<'_>
impl Display for XAllDifferent<'_>
Source§impl XConstraintTrait for XAllDifferent<'_>
impl XConstraintTrait for XAllDifferent<'_>
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 XAllDifferent<'a>
impl<'a> !RefUnwindSafe for XAllDifferent<'a>
impl<'a> Send for XAllDifferent<'a>
impl<'a> Sync for XAllDifferent<'a>
impl<'a> Unpin for XAllDifferent<'a>
impl<'a> !UnwindSafe for XAllDifferent<'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