pub struct XDomainInteger { /* private fields */ }
Implementations§
Source§impl XDomainInteger
impl XDomainInteger
pub fn new() -> XDomainInteger
pub fn contain_symbol(&self) -> bool
pub fn find_symbolic(&self, sym: &str) -> usize
pub fn from_symbolic(domain: &str) -> XDomainInteger
pub fn from_string(domain: &str) -> Result<XDomainInteger, Xcsp3Error>
pub fn equals(&self, arg: &XDomainInteger) -> bool
pub fn add_value(&mut self, value: i32)
pub fn add_interval(&mut self, min: i32, max: i32)
pub fn nb_values(&self) -> usize
pub fn minimum(&self) -> i32
pub fn maximum(&self) -> i32
pub fn is_interval(&self) -> bool
pub fn iter(&self) -> XDomainIter<'_> ⓘ
Trait Implementations§
Source§impl Clone for XDomainInteger
impl Clone for XDomainInteger
Source§fn clone(&self) -> XDomainInteger
fn clone(&self) -> XDomainInteger
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 moreSource§impl Default for XDomainInteger
impl Default for XDomainInteger
Auto Trait Implementations§
impl Freeze for XDomainInteger
impl RefUnwindSafe for XDomainInteger
impl Send for XDomainInteger
impl Sync for XDomainInteger
impl Unpin for XDomainInteger
impl UnwindSafe for XDomainInteger
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