Module render

Module render 

Source
Expand description

Logic for rendering the different hover messages

StructsΒ§

DropInfo πŸ”’
KeywordHint πŸ”’

FunctionsΒ§

closure_expr πŸ”’
closure_ty πŸ”’
definition πŸ”’
definition_owner_name πŸ”’
definition_path πŸ”’
deref_expr πŸ”’
is_pwr2minus1 πŸ”’
is_pwr2plus1 πŸ”’
keyword πŸ”’
keyword_hints πŸ”’
literal πŸ”’
markup πŸ”’
path πŸ”’
process_markup πŸ”’
pwr2_to_exponent πŸ”’
Formats a power of two as an exponent of two, i.e. 16 => ⁴. Note that num MUST be a power of 2, or this function will panic.
render_dyn_compatibility πŸ”’
render_memory_layout πŸ”’
render_notable_trait πŸ”’
struct_rest_pat πŸ”’
Returns missing types in a record pattern. Only makes sense when there’s a rest pattern in the record pattern. i.e. let S {a, ..} = S {a: 1, b: 2}
try_expr πŸ”’
try_for_lint πŸ”’
type_info πŸ”’
type_info_of πŸ”’
underscore πŸ”’