Expand description
Method completions for Result, Option, and other types
Functions§
- extract_
generic_ arg - Extract a specific generic argument by index from a type name
Example: extract_generic_arg(“Table
”, 0) -> Some(“Row”) Example: extract_generic_arg(“Map<String, Number>”, 1) -> Some(“Number”)
- extract_
option_ inner - Check if type is Option
and return the inner type T - extract_
result_ inner - Check if type is Result
and return the inner type T - method_
completion_ item - option_
method_ completions - Get method completions for Option type
- parse_
generic_ type - result_
method_ completions - Get method completions for Result type