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