pub enum PortComp {
Eq,
Neq,
Gt,
Lt,
Geq,
Leq,
}
Expand description
Comparison operations that can be performed between ports by Guard::CompOp.
Variants
Eq
p1 == p2
Neq
p1 != p2
Gt
p1 > p2
Lt
p1 < p2
Geq
p1 >= p2
Leq
p1 <= p2
Trait Implementations
impl Eq for PortComp
impl StructuralEq for PortComp
impl StructuralPartialEq for PortComp
Auto Trait Implementations
impl RefUnwindSafe for PortComp
impl Send for PortComp
impl Sync for PortComp
impl Unpin for PortComp
impl UnwindSafe for PortComp
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.