fn detect_receiver_kind(sig: &Signature) -> MethodReceiverKindExpand description
Detect the receiver kind from a method signature.
Mirror: miniextendr-macros/src/miniextendr_impl.rs — detect_receiver_kind.
Keep both in sync: if the macro adds a new receiver variant, update this function too.