typeables/noun.rs
1//! # Noun
2//!
3//! Examples:
4//!
5//! ```rust
6//! # use typeables::noun::*;
7//! let x = NounAsStructStr("Alice"); // person
8//! let x = NounAsStructStr("beach"); // place
9//! let x = NounAsStructStr("clock"); // thing
10//! let x = NounAsStructStr("dream"); // idea
11//! let x = NounAsStructStr("eagle"); // animal
12//! let x = NounAsStructStr("fruit"); // plant
13//! ```
14//!
15//! <https://wikipedia.org/wiki/Noun>
16//!
17//! A noun is a word that functions as the name of a specific object or set of
18//! objects, such as living creatures, places, actions, qualities, states of
19//! existence, or ideas. However, noun is not a semantic category, so it cannot
20//! be characterized in terms of its meaning. Thus, actions and states of
21//! existence can also be expressed by verbs, qualities by adjectives, and
22//! places by adverbs. Linguistically, a noun is a member of a large, open part
23//! of speech whose members can occur as the main word in the subject of a
24//! clause, the object of a verb, or the object of a preposition.
25//!
26//! Compare: Verb
27
28//// Noun
29
30pub struct NounAsStructStr(pub &'static str);
31pub struct NounAsStructString(pub String);
32
33pub type NounAsTypeStr = str;
34pub type NounAsTypeString = String;