Identifies map / map_err / and_then as the
callable-taking Result methods each engine handles inline.
Returns None for anything else so the caller can fall
through to result_method or the standard dispatcher.
Method dispatch for Bool. Only the numeric coercions
(true.to_int() → 1, etc.); type / to_str / inspect
go through common_method before this is called.
Methods every value understands: introspection + stringification.
Dispatched from call_methodbefore the type-specific method
tables so x.type(), x.to_str(), and x.inspect() work
uniformly across every Value shape.
True when receiver is a Value::EnumVariant whose type
identity is the built-in Result. Shared by each engine
so a user enum named Result in some module can’t
accidentally steal the built-in method dispatch.
Build a Result::Ok(value) with the builtin’s module path so
pattern matches against Result::Ok(_) fire regardless of
which module the receiver came from. Mirror of the helper in
builtins but specialised to the “wrap a value” case each
engine’s callable dispatch uses.
Method dispatch for Int and Number receivers. Covers the
math operations that used to be global builtins (abs,
sqrt, sin, …) plus numeric coercions (to_int,
to_float). Returns Err on argument errors or unknown
method names — no fall-through.
Pure Result method dispatch. Handles is_ok, is_err,
unwrap, expect, unwrap_or — the combinators whose
implementation doesn’t need to invoke a user callable.