Skip to main content

IntoAction

Trait IntoAction 

Source
pub trait IntoAction {
    // Required method
    fn into_action<S: ToString>(self, label: S) -> Action;
}
Expand description

Allows converting something into an Action by providing a label.

Required Methods§

Source

fn into_action<S: ToString>(self, label: S) -> Action

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl IntoAction for Callback<()>

Source§

fn into_action<S>(self, label: S) -> Action
where S: ToString,

Implementors§