pub struct IntervalDomain {
pub lower: Bound,
pub upper: Bound,
pub is_bottom: bool,
}Expand description
The interval domain: an abstract value [lower, upper]. Represents the set of integers n with lower ≤ n ≤ upper.
Fields§
§lower: BoundLower bound (inclusive), or NegInf
upper: BoundUpper bound (inclusive), or PosInf
is_bottom: boolWhether this is the bottom element (empty set)
Implementations§
Trait Implementations§
Source§impl Clone for IntervalDomain
impl Clone for IntervalDomain
Source§fn clone(&self) -> IntervalDomain
fn clone(&self) -> IntervalDomain
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 Debug for IntervalDomain
impl Debug for IntervalDomain
Source§impl PartialEq for IntervalDomain
impl PartialEq for IntervalDomain
impl Eq for IntervalDomain
impl StructuralPartialEq for IntervalDomain
Auto Trait Implementations§
impl Freeze for IntervalDomain
impl RefUnwindSafe for IntervalDomain
impl Send for IntervalDomain
impl Sync for IntervalDomain
impl Unpin for IntervalDomain
impl UnsafeUnpin for IntervalDomain
impl UnwindSafe for IntervalDomain
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