pub struct BasicAction {
pub name: Name,
pub parameters: TypedList<Variable>,
pub precondition: Option<Condition>,
pub effect: Option<Effect>,
}Expand description
A non-temporal (instantaneous) PDDL action defined with :action.
Fields§
§name: NameThe action name (e.g. "drive").
parameters: TypedList<Variable>Typed parameter list. Includes any PDDL 1.2 :vars parameters.
precondition: Option<Condition>Optional precondition; None means unconditionally applicable.
effect: Option<Effect>Optional effect; None means no state change.
Trait Implementations§
Source§impl Clone for BasicAction
impl Clone for BasicAction
Source§fn clone(&self) -> BasicAction
fn clone(&self) -> BasicAction
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 BasicAction
impl Debug for BasicAction
Source§impl PartialEq for BasicAction
impl PartialEq for BasicAction
Source§fn eq(&self, other: &BasicAction) -> bool
fn eq(&self, other: &BasicAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BasicAction
impl Serialize for BasicAction
impl StructuralPartialEq for BasicAction
Auto Trait Implementations§
impl Freeze for BasicAction
impl RefUnwindSafe for BasicAction
impl Send for BasicAction
impl Sync for BasicAction
impl Unpin for BasicAction
impl UnsafeUnpin for BasicAction
impl UnwindSafe for BasicAction
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