pub struct PredicateDecl {
pub name: Name,
pub parameters: TypedList<Variable>,
}Expand description
A predicate declaration from the :predicates section, with name and typed parameters.
Fields§
§name: Name§parameters: TypedList<Variable>Trait Implementations§
Source§impl Clone for PredicateDecl
impl Clone for PredicateDecl
Source§fn clone(&self) -> PredicateDecl
fn clone(&self) -> PredicateDecl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PredicateDecl
impl Debug for PredicateDecl
Source§impl PartialEq for PredicateDecl
impl PartialEq for PredicateDecl
Source§fn eq(&self, other: &PredicateDecl) -> bool
fn eq(&self, other: &PredicateDecl) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PredicateDecl
impl Serialize for PredicateDecl
impl StructuralPartialEq for PredicateDecl
Auto Trait Implementations§
impl Freeze for PredicateDecl
impl RefUnwindSafe for PredicateDecl
impl Send for PredicateDecl
impl Sync for PredicateDecl
impl Unpin for PredicateDecl
impl UnsafeUnpin for PredicateDecl
impl UnwindSafe for PredicateDecl
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