Module cfg

Module cfg 

Source
Expand description

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

Structsยง

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 ๐Ÿ”’

Enumsยง

Cfg ๐Ÿ”’
Format ๐Ÿ”’

Functionsยง

extract_cfg_from_attrs ๐Ÿ”’
handle_auto_cfg_hide_show ๐Ÿ”’
This functions updates the hidden_cfg field of the provided cfg_info argument.
show_hide_show_conflict_error ๐Ÿ”’