Rust Programming

  1. Common Collections
    1. Vectors
      1. Vector Creation
        1. vec! Macro
          1. Vec::new Function
            1. Vec::with_capacity Function
            2. Vector Operations
              1. push Method
                1. pop Method
                  1. insert Method
                    1. remove Method
                    2. Accessing Vector Elements
                      1. Indexing Syntax
                        1. get Method
                          1. Bounds Checking
                          2. Vector Iteration
                            1. for Loops
                              1. Iterator Methods
                                1. Mutable Iteration
                                2. Vector Capacity and Memory
                                  1. Storing Multiple Types with Enums
                                  2. Strings
                                    1. String vs &str
                                      1. Owned vs Borrowed Strings
                                        1. String Literals
                                          1. String Creation
                                          2. String Manipulation
                                            1. push and push_str Methods
                                              1. String Concatenation
                                                1. format! Macro
                                                2. String Indexing Issues
                                                  1. UTF-8 Encoding
                                                    1. Grapheme Clusters
                                                      1. Byte vs Character Indexing
                                                      2. String Slicing
                                                        1. Byte Slicing
                                                          1. Character Boundaries
                                                          2. String Iteration
                                                            1. chars Method
                                                              1. bytes Method
                                                                1. lines Method
                                                                  1. split Methods
                                                                2. Hash Maps
                                                                  1. HashMap Creation
                                                                    1. HashMap::new Function
                                                                      1. collect Method
                                                                      2. HashMap Operations
                                                                        1. insert Method
                                                                          1. get Method
                                                                            1. entry API
                                                                              1. remove Method
                                                                              2. HashMap Iteration
                                                                                1. Key Iteration
                                                                                  1. Value Iteration
                                                                                    1. Key-Value Pair Iteration
                                                                                    2. Ownership in HashMaps
                                                                                      1. Key Ownership
                                                                                        1. Value Ownership
                                                                                          1. Reference Storage
                                                                                          2. Hash Map Performance
                                                                                            1. Hashing Algorithms
                                                                                              1. Custom Hash Functions