Code Maven
Slides
About
Press ? for keyboard navigation
Keywords
main page
&
Rust ownership - borrow String
Rust ownership borrow string in function
/* */
Rust and comments
//
Rust and comments
argv
Command line arguments - argv
break
Infinite loop in Rust with break
BufRead
Rust - read file line-by-line
BufReader
Rust - read file line-by-line
clone
Rust clone a String
const
Rust constants
ends_with
Rust - string ends with
entry
Rust hash update value
enumerate
Rust - read file line-by-line enumerate
expect
Rust - Hello name - input from STDIN
false
Rust: boolean values
for
for loop in Rust
HashMap
Rust HashMap
i32
Rust numerical types
i64
Rust numerical types
if
Conditional: if
insert
Rust HashMap
let
Hello World in (immutable) variable
Hello World in mutable variable
Hello World in redeclared immutable variable - shadowed
Rust mutable variables
lines
Rust - read file line-by-line
loop
Infinite loop in Rust with break
mut
Hello World in mutable variable
Hello World in redeclared immutable variable - shadowed
Rust mutable variables
new
Rust HashMap
or_insert
Rust hash update value
Path
Rust list content of directory
println
Hello World
push
Rust vector
read_dir
Rust list content of directory
read_line
Rust - Hello name - input from STDIN
starts_with
Rust - string starts with
stdin
Rust - Hello name - input from STDIN
true
Rust: boolean values
tuple
Rust tuple - immutable mixed array
vec
Rust vector
while
While loop in Rust