pub enum Sym<T, U> {
Term(T),
NoTerm(U),
}
Variants§
Trait Implementations§
source§impl<T: Ord, U: Ord> Ord for Sym<T, U>
impl<T: Ord, U: Ord> Ord for Sym<T, U>
source§impl<T: PartialEq, U: PartialEq> PartialEq for Sym<T, U>
impl<T: PartialEq, U: PartialEq> PartialEq for Sym<T, U>
source§impl<T: PartialOrd, U: PartialOrd> PartialOrd for Sym<T, U>
impl<T: PartialOrd, U: PartialOrd> PartialOrd for Sym<T, U>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<T: Eq, U: Eq> Eq for Sym<T, U>
impl<T, U> StructuralEq for Sym<T, U>
impl<T, U> StructuralPartialEq for Sym<T, U>
Auto Trait Implementations§
impl<T, U> RefUnwindSafe for Sym<T, U>where
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> Send for Sym<T, U>
impl<T, U> Sync for Sym<T, U>
impl<T, U> Unpin for Sym<T, U>
impl<T, U> UnwindSafe for Sym<T, U>where
T: UnwindSafe,
U: UnwindSafe,
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