pub struct Clause<T> {
pub head: Term<T>,
pub body: Option<Expr<T>>,
}Fields§
§head: Term<T>§body: Option<Expr<T>>Trait Implementations§
Source§impl<'int, Int: Intern> Parse<'int, Int> for Clause<Name<<Int as Intern>::InternedStr<'int>>>
impl<'int, Int: Intern> Parse<'int, Int> for Clause<Name<<Int as Intern>::InternedStr<'int>>>
impl<T: Eq> Eq for Clause<T>
impl<T> StructuralPartialEq for Clause<T>
Auto Trait Implementations§
impl<T> Freeze for Clause<T>where
T: Freeze,
impl<T> RefUnwindSafe for Clause<T>where
T: RefUnwindSafe,
impl<T> Send for Clause<T>where
T: Send,
impl<T> Sync for Clause<T>where
T: Sync,
impl<T> Unpin for Clause<T>where
T: Unpin,
impl<T> UnwindSafe for Clause<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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.