pub struct Terminate<I: TerminateId> { /* private fields */ }
Implementations§
Source§impl<I: TerminateId> Terminate<I>
impl<I: TerminateId> Terminate<I>
pub fn new<S: Into<String>>( name: S, postconditions: Vec<Postcondition>, effects: Vec<Effect>, position: Option<Position>, ) -> Self
pub fn postconditions(&self) -> &Vec<Postcondition>
pub fn effects(&self) -> &Vec<Effect>
pub fn resolve_resource( &mut self, map: &HashMap<String, ResourceId>, ) -> Result<(), RlError>
pub fn resolve_state( &mut self, map: &HashMap<String, StateId>, ) -> Result<(), RlError>
Trait Implementations§
Source§impl<I: TerminateId> Display for Terminate<I>
impl<I: TerminateId> Display for Terminate<I>
Auto Trait Implementations§
impl<I> Freeze for Terminate<I>where
I: Freeze,
impl<I> RefUnwindSafe for Terminate<I>where
I: RefUnwindSafe,
impl<I> Send for Terminate<I>where
I: Send,
impl<I> Sync for Terminate<I>where
I: Sync,
impl<I> Unpin for Terminate<I>where
I: Unpin,
impl<I> UnwindSafe for Terminate<I>where
I: UnwindSafe,
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