Module cfg

Module cfg 

Source
Expand description

The representation of a #[doc(cfg(...))] attribute.

Structsยง

Cfg ๐Ÿ”’
CfgInfo ๐Ÿ”’
This type keeps track of (doc) cfg information as we go down the item tree.
Display ๐Ÿ”’
Pretty-print wrapper for a Cfg. Also indicates what form of rendering should be used.
InvalidCfgError ๐Ÿ”’
NameValueCfg ๐Ÿ”’

Enumsยง

Format ๐Ÿ”’

Functionsยง

extract_cfg_from_attrs ๐Ÿ”’
handle_auto_cfg_hide_show ๐Ÿ”’
This functions updates the hidden_cfg field of the provided cfg_info argument.
is_all_cfg ๐Ÿ”’
Returns false if is Any, otherwise returns true.
is_simple_cfg ๐Ÿ”’
Whether the configuration consists of just Cfg or Not.
should_capitalize_first_letter ๐Ÿ”’
show_hide_show_conflict_error ๐Ÿ”’
strip_hidden ๐Ÿ”’