Module ext

Module ext 

Source
Expand description

While the parent module defines basic atomic “constructors”, the ext module defines shortcuts for common things.

It’s named ext rather than shortcuts just to keep it short.

Functions§

default_bool
empty_block_expr
empty_char
empty_str
expr_self
expr_todo
expr_ty_default
expr_ty_new
expr_underscore
expr_unit
expr_unreachable
field_from_idents
ident_path
option_none
path_from_idents
simple_ident_pat
token_tree_from_node
ty_bool
ty_name
ty_option
ty_result
zero_float
zero_number