Function methods_for
pub fn methods_for(ty: &Ty) -> &'static [KernelMethod]Expand description
The value methods of a receiver type, or &[] for a type with no kernel
methods (record/sum named types, Bool, Effect, …). Record fields are
resolved separately by the LSP (they need the type declaration).