Skip to main content

METHODS

Static METHODS 

Source
static METHODS: OnceLock<Methods>
Expand description

Resolved DefIds of std methods that are matched by generic name rather than a fixed intrinsics! path (e.g. len, capacity, ::abs, ::checked_add, ::split_at, Iterator::position, …). Each group collects every fn_def — from the std crates and the local crate (the std-challenge suites re-implement Vec/slice-like types and their methods) — whose name matches the group’s pattern. Callers match a call-site DefId against these sets via contains.