pub enum Ast<L, V> {
Lit(L),
Var(Var<V>),
List(Term<L, V>, Vec<Ast<L, V>>),
Dict(Term<L, V>, HashMap<L, Ast<L, V>>),
}
Variants§
Lit(L)
Var(Var<V>)
List(Term<L, V>, Vec<Ast<L, V>>)
Dict(Term<L, V>, HashMap<L, Ast<L, V>>)
NOTE: do NOT rely on unification order for this
Trait Implementations§
impl<L: Eq + Hash, V: Eq + Hash> Eq for Ast<L, V>
Auto Trait Implementations§
impl<L, V> Freeze for Ast<L, V>
impl<L, V> RefUnwindSafe for Ast<L, V>where
L: RefUnwindSafe,
V: RefUnwindSafe,
impl<L, V> Send for Ast<L, V>
impl<L, V> Sync for Ast<L, V>
impl<L, V> Unpin for Ast<L, V>
impl<L, V> UnwindSafe for Ast<L, V>where
L: UnwindSafe,
V: 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