is_dyn_method

Function is_dyn_method 

Source
pub fn is_dyn_method<'db>(
    interner: DbInterner<'db>,
    _env: ParamEnv<'db>,
    func: FunctionId,
    fn_subst: GenericArgs<'db>,
) -> Option<usize>
Expand description

Checks if the self parameter of Trait method is the dyn Trait and we should call the method using the vtable.