Skip to main content

Action

Trait Action 

Source
pub trait Action {
    // Required method
    fn apply(&mut self, editor: &mut Editor);
}

Required Methods§

Source

fn apply(&mut self, editor: &mut Editor)

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§