pub trait FunctionCommand: 'static + Sync {
// Required methods
fn action(&self, view: &BinaryView, func: &Function);
fn valid(&self, view: &BinaryView, func: &Function) -> bool;
}Expand description
The trait required for function-associated commands. See register_command_for_function for example usage.
Required Methods§
fn action(&self, view: &BinaryView, func: &Function)
fn valid(&self, view: &BinaryView, func: &Function) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".