Crate jordin

Crate jordin 

Source
Expand description

A crate providing access to the NAME “jordin”.

§Example

// Print "jordin" to stdout, without a newline
jordin::print_name(); // "jordin" has been printed to stdout
 
// Print "jordin" to stdout, with a newline
jordin::println_name(); // "jordin" has been printed to stdout
 
// NAME shall be equal to "jordin"
assert_eq!(jordin::NAME, "jordin");
// NAME shall not be equal to "Jordin" (see NAME_ADHERING_TO_ENGLISH_PROPER_NOUN_CAPITALISATION_RULES).
assert_ne!(jordin::NAME, "Jordin");
 
// NAME shall not be confused with the following similar but incorrect names
assert_ne!(jordin::NAME, "jordan");
assert_ne!(jordin::NAME, "jorden");
assert_ne!(jordin::NAME, "jordon");
assert_ne!(jordin::NAME, "jordun");
assert_ne!(jordin::NAME, "jordyn");
 
// NAME_ADHERING_TO_ENGLISH_PROPER_NOUN_CAPITALISATION_RULES shall be equal to "Jordin"
assert_eq!(jordin::NAME_ADHERING_TO_ENGLISH_PROPER_NOUN_CAPITALISATION_RULES, "Jordin");
// NAME_ADHERING_TO_ENGLISH_PROPER_NOUN_CAPITALISATION_RULES shall not be equal to "jordin" (see NAME) 
assert_ne!(jordin::NAME_ADHERING_TO_ENGLISH_PROPER_NOUN_CAPITALISATION_RULES, "jordin");
 
// NAME_ADHERING_TO_ENGLISH_PROPER_NOUN_CAPITALISATION_RULES shall not be confused with the following similar but incorrect names
assert_ne!(jordin::NAME_ADHERING_TO_ENGLISH_PROPER_NOUN_CAPITALISATION_RULES, "Jordan");
assert_ne!(jordin::NAME_ADHERING_TO_ENGLISH_PROPER_NOUN_CAPITALISATION_RULES, "Jorden");
assert_ne!(jordin::NAME_ADHERING_TO_ENGLISH_PROPER_NOUN_CAPITALISATION_RULES, "Jordon");
assert_ne!(jordin::NAME_ADHERING_TO_ENGLISH_PROPER_NOUN_CAPITALISATION_RULES, "Jordun");
assert_ne!(jordin::NAME_ADHERING_TO_ENGLISH_PROPER_NOUN_CAPITALISATION_RULES, "Jordyn");

Constants§

NAME
The name “jordin”.
NAME_ADHERING_TO_ENGLISH_PROPER_NOUN_CAPITALISATION_RULES
The name “Jordin”, which adheres to the English language proper noun capitalisation rules.

Functions§

print_name
Print the NAME (“jordin”) to the standard output of the current process, without a newline.
print_name_adhering_to_english_proper_noun_capitalisation_rules
Print the NAME_ADHERING_TO_ENGLISH_PROPER_NOUN_CAPITALISATION_RULES (“Jordin”) to the standard output of the current process, without a newline.
println_name
Print the NAME (“jordin”) to the standard output of the current process, with a newline.
println_name_adhering_to_english_proper_noun_capitalisation_rules
Print the NAME_ADHERING_TO_ENGLISH_PROPER_NOUN_CAPITALISATION_RULES (“Jordin”) to the standard output of the current process, with a newline.