[−][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
[src]
The output type returned by the callee
type Cfg
[src]
The input type used by the caller to pass the arguments to the callee
Required methods
pub fn call<T: ParserTrait>(cfg: Self::Cfg, parser: &T) -> Self::Res
[src]
Calls a function inside the library and returns its value