pub struct AtomicFormulaSkeleton { /* private fields */ }Expand description
Implementations§
Source§impl AtomicFormulaSkeleton
impl AtomicFormulaSkeleton
Sourcepub const fn new(predicate: Predicate, formula: TypedVariables) -> Self
pub const fn new(predicate: Predicate, formula: TypedVariables) -> Self
Creates a skeleton (<predicate> <typed list(variable)>) from a predicate
and its typed parameters.
Sourcepub fn variables(&self) -> &TypedVariables
pub fn variables(&self) -> &TypedVariables
Gets a reference to the variables.
Trait Implementations§
Source§impl AsRef<AtomicFormulaSkeleton> for DerivedPredicate
impl AsRef<AtomicFormulaSkeleton> for DerivedPredicate
Source§fn as_ref(&self) -> &AtomicFormulaSkeleton
fn as_ref(&self) -> &AtomicFormulaSkeleton
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for AtomicFormulaSkeleton
impl Clone for AtomicFormulaSkeleton
Source§impl Debug for AtomicFormulaSkeleton
impl Debug for AtomicFormulaSkeleton
Source§impl<'de> Deserialize<'de> for AtomicFormulaSkeleton
Available on crate feature serde only.
impl<'de> Deserialize<'de> for AtomicFormulaSkeleton
Available on crate feature
serde only.Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AtomicFormulaSkeleton
Source§impl From<(Predicate, TypedList<Variable>)> for AtomicFormulaSkeleton
impl From<(Predicate, TypedList<Variable>)> for AtomicFormulaSkeleton
Source§fn from(value: (Predicate, TypedVariables)) -> Self
fn from(value: (Predicate, TypedVariables)) -> Self
Converts to this type from the input type.
Source§impl FromIterator<AtomicFormulaSkeleton> for PredicateDefinitions
impl FromIterator<AtomicFormulaSkeleton> for PredicateDefinitions
Source§fn from_iter<T: IntoIterator<Item = AtomicFormulaSkeleton>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = AtomicFormulaSkeleton>>(iter: T) -> Self
Creates a value from an iterator. Read more
Source§impl Parser for AtomicFormulaSkeleton
Available on crate feature parser only.
impl Parser for AtomicFormulaSkeleton
Available on crate feature
parser only.Source§type Item = AtomicFormulaSkeleton
type Item = AtomicFormulaSkeleton
The parsed value;
Self except for
DurationConstraint, which may be empty.Source§impl PartialEq for AtomicFormulaSkeleton
impl PartialEq for AtomicFormulaSkeleton
Source§impl Serialize for AtomicFormulaSkeleton
Available on crate feature serde only.
impl Serialize for AtomicFormulaSkeleton
Available on crate feature
serde only.impl StructuralPartialEq for AtomicFormulaSkeleton
Source§impl Visitor<AtomicFormulaSkeleton, RcDoc<'static>> for PrettyRenderer
Available on crate feature pretty only.
impl Visitor<AtomicFormulaSkeleton, RcDoc<'static>> for PrettyRenderer
Available on crate feature
pretty only.Source§fn visit(&self, value: &AtomicFormulaSkeleton) -> RcDoc<'static>
fn visit(&self, value: &AtomicFormulaSkeleton) -> RcDoc<'static>
Visits
value and returns the result.Auto Trait Implementations§
impl Forget for AtomicFormulaSkeleton
impl Freeze for AtomicFormulaSkeleton
impl Move for AtomicFormulaSkeleton
impl RefUnwindSafe for AtomicFormulaSkeleton
impl Send for AtomicFormulaSkeleton
impl Sync for AtomicFormulaSkeleton
impl Unpin for AtomicFormulaSkeleton
impl UnsafeUnpin for AtomicFormulaSkeleton
impl UnwindSafe for AtomicFormulaSkeleton
Blanket Implementations§
Source§impl<V, T, O> AcceptMut<V, T, O> for Twhere
V: VisitorMut<T, O>,
impl<V, T, O> AcceptMut<V, T, O> for Twhere
V: VisitorMut<T, O>,
Source§fn accept_mut(&self, v: &mut V) -> O
fn accept_mut(&self, v: &mut V) -> O
Lets the mutable visitor
v visit self.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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Pretty for Twhere
T: PrettyVisit,
impl<T> Pretty for Twhere
T: PrettyVisit,
Source§impl<T> PrettyVisit for T
impl<T> PrettyVisit for T
Source§fn to_doc(&self, r: &PrettyRenderer) -> RcDoc<'static>
fn to_doc(&self, r: &PrettyRenderer) -> RcDoc<'static>
Available on crate feature
pretty only.Builds the document for
self with the renderer r.