pub struct Predicate {
pub name: SymbolIndex,
pub terms: Vec<Term>,
}Fields§
§name: SymbolIndex§terms: Vec<Term>Implementations§
Trait Implementations§
Source§impl Convert<Predicate> for Predicate
impl Convert<Predicate> for Predicate
fn convert(&self, symbols: &mut SymbolTable) -> Predicate
fn convert_from(p: &Predicate, symbols: &SymbolTable) -> Result<Self, Format>
fn translate( f: &T, from_symbols: &SymbolTable, to_symbols: &mut SymbolTable, ) -> Result<T, Format>
impl Eq for Predicate
Source§impl Ord for Predicate
impl Ord for Predicate
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Predicate
impl PartialOrd for Predicate
impl StructuralPartialEq for Predicate
Auto Trait Implementations§
impl Freeze for Predicate
impl RefUnwindSafe for Predicate
impl Send for Predicate
impl Sync for Predicate
impl Unpin for Predicate
impl UnsafeUnpin for Predicate
impl UnwindSafe for Predicate
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