Skip to main content

MethodCandidateCallback

Trait MethodCandidateCallback 

Source
pub trait MethodCandidateCallback {
    // Required methods
    fn on_inherent_method(&mut self, f: Function) -> ControlFlow<()>;
    fn on_trait_method(&mut self, f: Function) -> ControlFlow<()>;
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§