Keywords Flashcards
as
perform primitive casting, disambiguate the specific trait containing an item, or rename items in use and extern crate statements
async
return a Future instead of blocking the current thread
await
suspend execution until the result of a Future is ready
break
exit a loop immediately
const
define constant items or constant raw pointers
continue
continue to the next loop iteration
crate
link an external crate or a macro variable representing the crate in which the macro is defined
dyn
dynamic dispatch to a trait object
else
fallback for if and if let control flow constructs
enum
define an enumeration
extern
link an external crate, function, or variable
false
Boolean false literal
fn
define a function or the function pointer type
for
loop over items from an iterator, implement a trait, or specify a higher-ranked lifetime
if
branch based on the result of a conditional expression
impl
implement inherent or trait functionality