common_consts

Crates.iocommon_consts
lib.rscommon_consts
version0.1.0
sourcesrc
created_at2023-09-16 19:31:14.174344
updated_at2023-09-16 19:31:14.174344
descriptionConstants used in daily life.
homepage
repositoryhttps://github.com/nossie531/common_consts
max_upload_size
id974588
size16,908
(nossie531)

documentation

README

common_consts

Constants used in daily life.

The author of this crate is not good at English.
Forgive me if the document is hard to read.

Words that express quantities in daily conversations are often used in source code as well. Since it is tedious to define constants for those magic numbers in each project, we collect them here.

Values

Quantity values (In qv module).

  • ZERO
  • FEW
  • SOME
  • SEVERAL
  • HANDFUL
  • MANY

Frequency values (In fv module).

  • NEVER
  • ALMOST_NEVER
  • RARELY
  • OCCASIONALLY
  • SOMETIMES
  • OFTEN
  • ALMOST
  • ALWAYS

Notes

Specific values for each constants may change in future versions.

Commit count: 1

cargo fmt