Skip to main content

member_candidates

Function member_candidates 

Source
fn member_candidates(
    receiver: &str,
    doc_text: &str,
    src_root: Option<&Path>,
) -> Vec<Completion>
Expand description

Members of a name receiver: built-in type statics, then built-in sum-type variants, then — from the project and embedded-surface parse — project sum variants, refined/opaque of/unsafe, or capability operations. Yields [] when the receiver resolves to none of these (e.g. a plain type X = Int alias or a record).