#[non_exhaustive]pub enum RecipeTransitionEffect {
Path(GeneratedTree),
ExactRust {
target_binding: GeneratedToken,
body: GeneratedTree,
},
}Expand description
The caller-owned execution material attached to one informed transition row.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Path(GeneratedTree)
Call one ordinary Rust path with no arguments, then return the declared target.
ExactRust
Evaluate exact caller-authored Rust with the declared target bound under one caller name.
Fields
§
target_binding: GeneratedTokenThe caller-chosen binding for the structurally declared target value.
§
body: GeneratedTreeThe exact caller-authored row body evaluated by the generated match arm.
Trait Implementations§
Source§impl Clone for RecipeTransitionEffect
impl Clone for RecipeTransitionEffect
Source§fn clone(&self) -> RecipeTransitionEffect
fn clone(&self) -> RecipeTransitionEffect
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 RecipeTransitionEffect
impl Debug for RecipeTransitionEffect
impl Eq for RecipeTransitionEffect
Source§impl Hash for RecipeTransitionEffect
impl Hash for RecipeTransitionEffect
Source§impl PartialEq for RecipeTransitionEffect
impl PartialEq for RecipeTransitionEffect
impl StructuralPartialEq for RecipeTransitionEffect
Auto Trait Implementations§
impl Freeze for RecipeTransitionEffect
impl RefUnwindSafe for RecipeTransitionEffect
impl Send for RecipeTransitionEffect
impl Sync for RecipeTransitionEffect
impl Unpin for RecipeTransitionEffect
impl UnsafeUnpin for RecipeTransitionEffect
impl UnwindSafe for RecipeTransitionEffect
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