pub struct XElement<'a> { /* private fields */ }Implementations§
Source§impl<'a> XElement<'a>
impl<'a> XElement<'a>
pub fn from_str( list: &str, value_str: &str, index_str: &str, start_index_str: &str, set: &'a XVariableSet, ) -> Result<Self, Xcsp3Error>
pub fn new( scope: Vec<XVarVal>, set: &'a XVariableSet, value: XVarVal, index: XVarVal, start_index: Option<i32>, ) -> Self
pub fn get_start_index(&self) -> &Option<i32>
Trait Implementations§
Source§impl XConstraintTrait for XElement<'_>
impl XConstraintTrait for XElement<'_>
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 XElement<'a>
impl<'a> !RefUnwindSafe for XElement<'a>
impl<'a> Send for XElement<'a>
impl<'a> Sync for XElement<'a>
impl<'a> Unpin for XElement<'a>
impl<'a> !UnwindSafe for XElement<'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