Module time::format_description::modifier

source ·
Available on crate features formatting or parsing only.
Expand description

Various modifiers for components.


  • if_pub 🔒
    Generate the provided code if and only if pub is present.
  • Implement Default for the given type. This also generates an inherent implementation of a default method that is const fn, permitting the default value to be used in const contexts.