pub struct XObjectiveExpression<'a> { /* private fields */ }
Implementations§
Source§impl<'a> XObjectiveExpression<'a>
impl<'a> XObjectiveExpression<'a>
pub fn get_scope_string(&self) -> &Vec<XVarVal>
pub fn get_expression(&self) -> &ExpressionTree
pub fn get_scope(&mut self) -> Vec<(&String, &XDomainInteger)>
pub fn from_expr(expr: &str, set: &'a XVariableSet) -> Result<Self, Xcsp3Error>
pub fn new( expression: ExpressionTree, scope: Vec<XVarVal>, set: &'a XVariableSet, ) -> Self
Trait Implementations§
Source§impl<'a> Clone for XObjectiveExpression<'a>
impl<'a> Clone for XObjectiveExpression<'a>
Source§fn clone(&self) -> XObjectiveExpression<'a>
fn clone(&self) -> XObjectiveExpression<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a> Freeze for XObjectiveExpression<'a>
impl<'a> !RefUnwindSafe for XObjectiveExpression<'a>
impl<'a> Send for XObjectiveExpression<'a>
impl<'a> Sync for XObjectiveExpression<'a>
impl<'a> Unpin for XObjectiveExpression<'a>
impl<'a> !UnwindSafe for XObjectiveExpression<'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