Methods on built-ins# Hashmap# .entry — Used for in-place manipulation of the value for a corresponding key, scores.entry(team_id).or_default — Insert an empty default value if the key is not present, returning a mutable reference, scores.entry(team_id).or_default().or_insert — Insert a populated default value if the key is not present, also returning a mutable reference, sat_scores.entry(student_id).or_insert(400)String slice# .len — Get the length of the string slice, name.len().is_empty — Check if the string slice is empty, name.is_empty().to_string — Convert a string slice to a String, name.to_string(); compare, contrast with String::fromKeywords# Variable Bindings and Data Declaration# let — Declare a variableconst — Declare a compile-time constantstatic — Declare a static variable (global variable with a fixed memory location)mut — Mark a binding as mutableref — Bind by referenceType System# type — Create a type aliasstruct — Define a structure/record typeenum — Define an enumeration typetrait — Define an interface typeimpl — Implement methods or traitsdyn — Dynamic dispatch to a trait objectSelf — Type alias for the implementing type within a trait or implself — Method receiver or current modulesuper — Parent modulewhere — Add constraints to generic typesControl Flow# if — Conditional branchingelse — Alternative branch in conditionalmatch — Pattern matchingloop — Infinite loopwhile — Conditional loopfor — Iterator-based loopin — Part of for loop syntax and pattern matchingbreak — Exit a loop earlycontinue — Skip to the next loop iterationreturn — Return from a functionFunctions and Closures# fn — Define a functionmove — Force closure to take ownership of captured variablesasync — Define an asynchronous function or blockawait — Suspend execution until an async result is readyMemory Management# unsafe — Denote unsafe code blockextern — Link to external functions or cratesraw — Raw pointer operations (used with references)Modules and Visibility# mod — Define a modulepub — Make an item publicuse — Import items from other modulescrate — Reference the current crate or external crateas — Rename or alias in importsMacros# macro_rules! — Define a declarative macroType Operations# as — Type casting_ — Wildcard pattern or type placeholderReserved for Future Use (No Functionality Yet)# abstractbecomeboxdofinalmacrooverrideprivtrytypeofunsizedvirtualyield