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§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 !Send for LevelConstraint
impl !Sync for LevelConstraint
impl Forget for LevelConstraint
impl Freeze for LevelConstraint
impl Move for LevelConstraint
impl RefUnwindSafe 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