pub enum LevelConstraint {
Leq(Level, Level),
Eq(Level, Level),
}Expand description
A level constraint: an assertion that l1 ≤ l2 or l1 = l2.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for LevelConstraint
impl Clone for LevelConstraint
Source§fn clone(&self) -> LevelConstraint
fn clone(&self) -> LevelConstraint
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 LevelConstraint
impl Debug for LevelConstraint
Source§impl PartialEq for LevelConstraint
impl PartialEq for LevelConstraint
impl StructuralPartialEq for LevelConstraint
Auto Trait Implementations§
impl Freeze for LevelConstraint
impl RefUnwindSafe for LevelConstraint
impl Send for LevelConstraint
impl Sync for LevelConstraint
impl Unpin for LevelConstraint
impl UnsafeUnpin for LevelConstraint
impl UnwindSafe for LevelConstraint
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