Skip to main content

Module samples

Module samples 

Source
Expand description

The compiled samples. npm run gen writes gen.samples/mod.rs; one #[path] names that file, since a gen. name is never a Rust identifier.

Modules§

arrays
bigints
call_statements
calls
captures
collatz
comma
comments
constants
destructuring
entries
exports
function_outputs
functions
grouping
guards
hello
identifiers
in_operator
instanceof
loops
member_functions
names_and_identity
number_conversion
numbers
objects
operators
optional_chaining
parameters
property_access
sort
static_functions
string_conversion
string_escapes
strings
switch_statement
template_literals
values
variables
whitespace

Functions§

arrays
Loads the arrays sample.
bigints
Loads the bigints sample.
call_statements
Loads the call_statements sample.
calls
Loads the calls sample.
captures
Loads the captures sample.
collatz
Loads the collatz sample.
comma
Loads the comma sample.
comments
Loads the comments sample.
constants
Loads the constants sample.
destructuring
Loads the destructuring sample.
entries
Loads the entries sample.
exports
Loads the exports sample.
function_outputs
Loads the function_outputs sample.
functions
Loads the functions sample.
grouping
Loads the grouping sample.
guards
Loads the guards sample.
hello
Loads the hello sample.
identifiers
Loads the identifiers sample.
in_operator
Loads the in_operator sample.
instanceof
Loads the instanceof sample.
loops
Loads the loops sample.
member_functions
Loads the member_functions sample.
names_and_identity
Loads the names_and_identity sample.
number_conversion
Loads the number_conversion sample.
numbers
Loads the numbers sample.
objects
Loads the objects sample.
operators
Loads the operators sample.
optional_chaining
Loads the optional_chaining sample.
parameters
Loads the parameters sample.
property_access
Loads the property_access sample.
sort
Loads the sort sample.
static_functions
Loads the static_functions sample.
string_conversion
Loads the string_conversion sample.
string_escapes
Loads the string_escapes sample.
strings
Loads the strings sample.
switch_statement
Loads the switch_statement sample.
template_literals
Loads the template_literals sample.
values
Loads the values sample.
variables
Loads the variables sample.
whitespace
Loads the whitespace sample.