pub enum Degree {
Zero,
One,
Two,
}
Expand description
Describe the degree of a constraint.
As described in the top level documentation, we only
support constraints with degree up to 2
Variants§
Trait Implementations§
Source§impl Ord for Degree
impl Ord for Degree
Source§impl PartialOrd for Degree
impl PartialOrd for Degree
impl Copy for Degree
impl Eq for Degree
impl StructuralPartialEq for Degree
Auto Trait Implementations§
impl Freeze for Degree
impl RefUnwindSafe for Degree
impl Send for Degree
impl Sync for Degree
impl Unpin for Degree
impl UnwindSafe for Degree
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more