pub fn define_member(
class_val: &Value,
name: &str,
kind: i64,
is_static: bool,
func: Value,
)Expand description
Install a method / getter / setter on a class (DEF_MEMBER). kind is a
member::* tag; is_static targets the constructor side.