Keywords
- "*"
- "+"
- %
- &
- &mut
- &self
- &str
- (
- ()
- )
- *
- +
- ++
- +=
- -
- --
- --release
- /
- /* */
- //
- ::<>()
- :p
- ?
- ?:
- _
- about
- addr_of
- alias
- all
- ancestor
- ancestors
- and_modify
- append
- approx_eq
- Arc
- architecture
- arg
- ArgPredicate
- args
- arms
- as
- as_i64
- as_millis
- as_object
- as_ptr
- as_secs
- as_str
- assert_eq
- assign
- async
- attr
- basename
- bind
- bind_iter
- Box
- break
- BufRead
- BufReader
- build
- button
- canonicalize
- capacity
- capitalize
- capture
- captures
- Captures
- captures_iter
- cargo
- CARGO_PKG_VERSION
- carrying_add
- case
- cd
- CentralPanel
- channel
- chars
- chdir
- checked_add
- checked_pow
- chrono
- CI
- CLI
- clicked
- clone
- Clone
- cloned
- cmp
- collect
- commafy
- command
- Command
- concat
- const
- consts
- contains
- contains_key
- copied
- count
- coverage
- create
- create_dir
- create_dir_all
- CSS
- csv
- current
- current_dir
- current_exe
- cwd
- Date
- DateTime
- dbg
- dead_code
- Debug
- default
- default_value
- default_value_if
- default_value_t
- deny_unknown_fields
- dependencies
- derive
- description
- Deserialize
- difference
- dirname
- Display
- downcase
- Drop
- drop
- Duration
- dyn
- elapsed
- else
- else if
- elseif
- elsif
- endcase
- endfor
- endif
- ends_with
- entry
- enum
- enumerate
- env
- eprint
- eprintln
- Eq
- eq
- Equal
- Equals
- Err
- Error
- execute
- exists
- exit
- ExitStatus
- expect
- expr
- extend
- extension
- f32
- f64
- false
- File
- file_name
- filter
- find
- first
- fn
- for
- format
- Formatter
- from
- from_calendar_date
- from_iter
- from_reader
- from_str
- from_string
- from_utf8
- get
- get_mut
- GitHub
- Greater
- Handlebars
- Hash
- HashMap
-
- Create empty HashMap, insert key-value pairs
- Create immutable hash with data
- Mapping structs based on more than one key
- Create hash from vector of tuple pairs
- Merge two HashMaps adding the values
- Merge two HashMaps adding the values in a function
- Read CSV file into hashes
- Liquid HashMap
- Serialize and deserialize HashMap to JSON in Rust
- Macro to create a HashMap to be a counter
- Add method to HashMap that sums the values
-
- HashSet
- heading
- Html
- i32
- i64
- i8
- if
- if else
- impl
- in
- include
- include_str
- index
- inf
- inner_html
- insert
- INSERT
- Instant
- integer_sqrt
- into_iter
- into_os_string
- into_string
- is_alphabetic
- is_alphanumeric
- is_finished
- is_none
- is_some
- IsPresent
- isqrt
- Item
- iter
-
- Rust array iterate indices and elements with enumerate
- Convert vector of chars to String
- Join vector of integers
- Maximum value of a vector
- filter numbers
- filter string
- Iterate over both index and value of a vector (enumerate)
- Iterate over key-value pairs in a Hash
- Count digits using functions
- Threads polling the substhreads
- Alternatively, we could create an iterator using the iter method.
- Iterator: all the elements
-
- iter_into
- iter_mut
- Iterator
- join
- json
- JSON
- kernel_version
- keys
- label
- last
- len
-
- Rust array of numbers, length of array
- Length of string
- Capacity of string
- Strings and memory allocation
- Fixed vector of numbers
- Remove the last element using pop, reduce capacity
- Stack and the capacity of a vector
- Accessing the last element of a vector
- Vector length and capacity
- Queue
- Create empty HashMap, insert key-value pairs
- Show size of file
- du - disk usage
- Liquid: length of string, size of vector
-
- Less
- let
- lib
- limit
- lines
- Lines
- lock
- long
- loop
- macro_rules
- main
- map
- match
- max
- max_by
- memory
- metadata
- min
- min_by
- minus
- mkdir
- mod
- move
- mpsc
- mut
-
- Number in a mutable variable
- Literal string in a mutable variable can be replaced
- Array of strings - access element by index
- Make the Rust array mutable
- Change tuple (mutable)
- Create tuple with types, but without values
- Change attributes of a mutable struct
- Struct method to modify fields
- Mutable vector of numbers, append (push) values
- Mutable empty vector for numbers (push)
- Create empty HashMap, insert key-value pairs
- Make function argument mutable inside the function
- Literal string in mutable variable
-
- Mutex
- naive_utc
- NaN
- NativeOptions
- new
- next
- None
- not
- now
- nth
- object
- offset
- Ok
- open
- Option
- or_insert
- Ord
- Ordering
- os_info
- os_type
- os_version
- OsStr
- overflowing_add
- panic
- par_iter
- parent
- parenthesis
- parse
- parse_document
- parse_file
- parse_from_str
- parse_str
- partial_cmp
- PartialEq
- PartialOrd
- partials
- Path
- path
- PathBuf
- PI
- plus
- pop
- pop_front
- pow
- prepare
- println
- proc-macro
- pub
- push
- push_back
- push_str
- pwd
- rand
- random
- range
- rayon
- Read
- read_dir
- read_line
- read_to_string
- ReadDir
- recv
- Regex
- register_template_string
- remove
- render
- render_template
- repalce_all
- replace
- replace_range
- replacen
- reqwest
- resize
- Restult
- Result
- return
- rev
- reversed
- round
- run_simple_native
- saturating_add
- saturating_pow
- SELECT
- Selector
- self
- Self
- send
- serde
- serde_json
- serde_yaml
- Serialize
- set
- set_current_dir
- short
- shrink_to_fit
- size
- sleep
- Some
- sort
- sort_by
- spawn
- split
- split_whitespace
- sprintf
- sqrt
- starts_with
- status
- std
- std::cmp::Ordering
- std::env
- std::env::var
- std::env::vars
- std::fmt::Debug
- std::fmt::Display
- std::io
- std::io::Write
- std::process::exit
- std::ptr::addr_of
- std::time::Duration
- std::time::Instant::now
- stdin
- strftime
- strict_add
- String
- String::new
- StringRecord
- struct
- success
- syn
- systinfo
- target
- tarpaulin
- TBD
-
- Approximately compare floating point numbers
- Complex numbers
- Two references to the same vector
- Filter vector of structs (cloning)
- Convert vector of structs to vector of references
- Filter vector of structs without copy
- Accessing the last element of a vector
- Insert element in vector
- Vector with optional values - None or out of range?
- Vector with optional values
- Vector length and capacity
- References to numbers
- Exercise: concatenate file content
- Pass vector to function
- Return value from thread
- Counter with message passing
- Exercise: run several functions on the same text
- Tasks with different processing time
- map with threads
- Clap: default value only if the flag was provides
- Read lists of JSON structures
- Iter strings
- Solution: Implement function to repeate a string
- Types of macros
- unsafe powers
- Add method to HashMap that sums the values
- Passing string to function
- map with threads with Mutex
- Reference to a number
-
- temp_dir
- tempdir
- test
- thousands
- thread
- threadpool
- time
- to_lowercase
- to_owned
- to_string
- to_uppercase
- todo
- TODO
- TokenStream
- tokio
- trim
- trim_end
- trim_end_matches
- trim_start
- true
- tuple
- type
- type_name
- type_name_of_val
- u8
- underscore
- unimplemented
- union
- unit
- unsert
- unwrap
- unwrap_or
- upcase
- url
- usize
- utc
- Value
- value_name
- ValueEnum
- Vec
- vec
- VecDeque
- version
- VERSION
- when
- where
- while
- with_capacity
- with_ymd_and_hms
- Write
- writeln