Enum rail_lang::rail_machine::RailAction
source · pub enum RailAction<'a> {
Builtin(Arc<dyn Fn(RailState) -> RailState + 'a>),
Quotation(RailState),
}
Variants§
Trait Implementations§
source§impl<'a> Clone for RailAction<'a>
impl<'a> Clone for RailAction<'a>
source§fn clone(&self) -> RailAction<'a>
fn clone(&self) -> RailAction<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more