pub struct XSlide<'a> { /* private fields */ }Implementations§
Source§impl<'a> XSlide<'a>
impl<'a> XSlide<'a>
pub fn get_offset(&self) -> i32
pub fn get_circular(&self) -> bool
pub fn get_scope(&mut self) -> Vec<(&String, &XDomainInteger)>
pub fn get_args(&self) -> &Vec<XVarVal>
pub fn get_template(&self) -> &XConstraintType<'a>
pub fn from_str( cc: XConstraintType<'a>, arg_str: &str, offset_str: &str, circular_str: &str, set: &'a XVariableSet, ) -> Result<Self, Xcsp3Error>
pub fn new( args: Vec<XVarVal>, set: &'a XVariableSet, offset: i32, circular: bool, template: Box<XConstraintType<'a>>, ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for XSlide<'a>
impl<'a> !RefUnwindSafe for XSlide<'a>
impl<'a> Send for XSlide<'a>
impl<'a> Sync for XSlide<'a>
impl<'a> Unpin for XSlide<'a>
impl<'a> !UnwindSafe for XSlide<'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