Expand description
Various modifiers for components.
Macros§
- 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 adefault
method that isconst fn
, permitting the default value to be used in const contexts.
Structs§
- Day of the month.
- The end of input.
- Hour of the day.
- Ignore some number of bytes.
- Minute within the hour.
- Month of the year.
- Hour of the UTC offset.
- Minute within the hour of the UTC offset.
- Second within the minute of the UTC offset.
- Ordinal day of the year.
- AM/PM part of the time.
- Second within the minute.
- Subsecond within the second.
- A Unix timestamp.
- Week within the year.
- Day of the week.
- Year of the date.
Enums§
- The representation of a month.
- Type of padding to ensure a minimum width.
- The number of digits present in a subsecond representation.
- The precision of a Unix timestamp.
- The representation used for the week number.
- The representation used for the day of the week.
- The representation used for a year value.