Crate hacker_text
source · [−]Expand description
A really dumb library that generates bogus lines of “hacker text”.
Example:
use hacker_text::*;
let foo = make_line();
// since the thing is randomized, it is impossible to know what foo will be.
Some generated examples are:
- detonating python
- sadly lying to golden trans rights
- happily detonating all of gnu
- destroying 20 million copies of the game tux kart racing
- smoking tomato sauce
- happily compiling windows
(probably don’t use the make_line() function, the adverbs and adjectives are really weird)
Functions
Gets an adjective from the list of adjectives used in the
make_line()
functions.Gets an adverb from the list of adverbs used in the
make_line()
functions.Gets a noun from the list of nouns used in the
make_line()
functions.Gets a verb from the list of verbs used in the
make_line()
functions.Returns a
String
with verbs, nouns, and adjectives.Returns a
String
with adverbs, verbs, and nouns.Returns a
String
with adverbs, verbs, nouns, and adjectives.Randomly picks one of the other
make_line
functions and returns a String
from them.Returns a
String
with verbs and nouns.