pub struct XOrdered<'a> { /* private fields */ }
Implementations§
Source§impl<'a> XOrdered<'a>
impl<'a> XOrdered<'a>
pub fn from_str( list: &str, lengths_str: &str, operator: &str, set: &'a XVariableSet, ) -> Result<Self, Xcsp3Error>
pub fn from_str_without_lengths( list: &str, operator: &str, set: &'a XVariableSet, ) -> Result<Self, Xcsp3Error>
pub fn new( scope: Vec<XVarVal>, set: &'a XVariableSet, lengths: Option<Vec<XVarVal>>, operator: Operator, ) -> Self
pub fn get_lengths(&self) -> &Option<Vec<XVarVal>>
pub fn get_operator(&self) -> &Operator
Trait Implementations§
Source§impl XConstraintTrait for XOrdered<'_>
impl XConstraintTrait for XOrdered<'_>
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 XOrdered<'a>
impl<'a> !RefUnwindSafe for XOrdered<'a>
impl<'a> Send for XOrdered<'a>
impl<'a> Sync for XOrdered<'a>
impl<'a> Unpin for XOrdered<'a>
impl<'a> !UnwindSafe for XOrdered<'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