[][src]Trait doublecount::ActionTypeValueEnum

pub trait ActionTypeValueEnum {
    fn as_action(&self) -> &dyn Action;
}

A trait which represents an enum/sized data structure which is capable of storing every possible concrete implementation of Action for your Program.

If you have some custom actions, you need to implement this trait yourself and use it to store your actions that you provide to Program.

Required methods

fn as_action(&self) -> &dyn Action

Loading content...

Implementors

impl ActionTypeValueEnum for ActionTypeValue[src]

Loading content...