[−][src]Trait rust_code_analysis::Callback
A trait for callback functions.
Allows to call a private library function, getting as result its output value.
Associated Types
type Res
The output type returned by the callee
type Cfg
The input type used by the caller to pass the arguments to the callee
Required methods
fn call<T: ParserTrait>(cfg: Self::Cfg, parser: &T) -> Self::Res
Calls a function inside the library and returns its value