pub struct DurativeAction {
pub name: Name,
pub parameters: TypedList<Variable>,
pub duration: DurationConstraint,
pub condition: Option<Condition>,
pub effect: Option<Effect>,
}Expand description
A temporal PDDL action defined with :durative-action.
Conditions and effects may contain temporal wrappers (at start, at end, over all).
Fields§
§name: NameThe action name (e.g. "drive").
parameters: TypedList<Variable>Typed parameter list.
duration: DurationConstraintDuration constraint (e.g. (= ?duration 10)).
condition: Option<Condition>Optional condition with temporal annotations.
effect: Option<Effect>Optional effect with temporal annotations.
Trait Implementations§
Source§impl Clone for DurativeAction
impl Clone for DurativeAction
Source§fn clone(&self) -> DurativeAction
fn clone(&self) -> DurativeAction
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 DurativeAction
impl Debug for DurativeAction
Source§impl PartialEq for DurativeAction
impl PartialEq for DurativeAction
Source§fn eq(&self, other: &DurativeAction) -> bool
fn eq(&self, other: &DurativeAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DurativeAction
impl Serialize for DurativeAction
impl StructuralPartialEq for DurativeAction
Auto Trait Implementations§
impl Freeze for DurativeAction
impl RefUnwindSafe for DurativeAction
impl Send for DurativeAction
impl Sync for DurativeAction
impl Unpin for DurativeAction
impl UnsafeUnpin for DurativeAction
impl UnwindSafe for DurativeAction
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