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
Source§impl<'de> Deserialize<'de> for SasOperator
impl<'de> Deserialize<'de> for SasOperator
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SasOperator
Source§impl PartialEq for SasOperator
impl PartialEq for SasOperator
Source§impl Serialize for SasOperator
impl Serialize 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