pub struct SasOperator {
pub name: String,
pub prevail: Vec<Fact>,
pub effects: Vec<SasEffect>,
pub cost: u32,
}Fields§
§name: StringGround action name without parentheses, e.g. pick ball1 rooma left.
prevail: Vec<Fact>Preconditions on variables the operator does not change.
effects: Vec<SasEffect>§cost: u32The cost field as written; see SasFile::operator_cost.
Trait Implementations§
Source§impl Clone for SasOperator
impl Clone for SasOperator
Source§impl Debug for SasOperator
impl Debug for SasOperator
impl Eq for SasOperator
Source§impl PartialEq for SasOperator
impl PartialEq for SasOperator
impl StructuralPartialEq for SasOperator
Auto Trait Implementations§
impl Forget for SasOperator
impl Freeze for SasOperator
impl Move for SasOperator
impl RefUnwindSafe for SasOperator
impl Send for SasOperator
impl Sync for SasOperator
impl Unpin for SasOperator
impl UnsafeUnpin for SasOperator
impl UnwindSafe for SasOperator
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