pub struct RecipeInstance<R: Recipe> { /* private fields */ }Expand description
One bound Recipe with its runtime and typed resolved ports.
Implementations§
Source§impl<R: Recipe> RecipeInstance<R>
impl<R: Recipe> RecipeInstance<R>
Sourcepub fn runtime_mut(&mut self) -> &mut Runtime
pub fn runtime_mut(&mut self) -> &mut Runtime
Mutably borrow the executable runtime for frame setup and loom.
Sourcepub fn into_parts(self) -> (Runtime, R::Ports)
pub fn into_parts(self) -> (Runtime, R::Ports)
Split this instance into its runtime and typed ports.
Auto Trait Implementations§
impl<R> Freeze for RecipeInstance<R>
impl<R> RefUnwindSafe for RecipeInstance<R>
impl<R> Send for RecipeInstance<R>
impl<R> Sync for RecipeInstance<R>
impl<R> Unpin for RecipeInstance<R>
impl<R> UnsafeUnpin for RecipeInstance<R>
impl<R> UnwindSafe for RecipeInstance<R>
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