pub enum Term<T> {
Variable(T),
Constant(T),
Composite(T, Vec<Term<T>>),
}
Variants§
Trait Implementations§
impl<T: Eq> Eq for Term<T>
impl<T> StructuralPartialEq for Term<T>
Auto Trait Implementations§
impl<T> Freeze for Term<T>where
T: Freeze,
impl<T> RefUnwindSafe for Term<T>where
T: RefUnwindSafe,
impl<T> Send for Term<T>where
T: Send,
impl<T> Sync for Term<T>where
T: Sync,
impl<T> Unpin for Term<T>where
T: Unpin,
impl<T> UnwindSafe for Term<T>where
T: 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