Skip to content
masterclass Buddy

API reference

Rust API reference

Ownership, types and the Cargo toolchain

Last updated

Identifiers
73
With full guides
0
Types
6

Topics covered

  • Ownership
  • Types
  • Traits
  • Errors
  • Async
  • Cargo

Class

NameWhat it does
StringClass
VecClass
OptionClass
ResultClass
BoxClass
RcClass
ArcClass
RefCellClass
CellClass
MutexClass
RwLockClass
HashMapClass
HashSetClass
BTreeMapClass
CowClass

Command

NameWhat it does
cargo newCommand
cargo buildCommand
cargo runCommand
cargo testCommand
cargo checkCommand
cargo clippyCommand
cargo fmtCommand
cargo addCommand
cargo docCommand
cargo publishCommand
rustup updateCommand

Method

NameWhat it does
Option::unwrapMethod
Option::mapMethod
Result::map_errMethod
Vec::pushMethod
Vec::iterMethod
String::fromMethod
Iterator::collectMethod
Iterator::filterMethod
Iterator::foldMethod

Concept

NameWhat it does
OwnershipConcept
BorrowingConcept
LifetimesConcept
Pattern matchingConcept
GenericsConcept
EnumsConcept
async and awaitConcept
Tokio runtimeConcept
unsafeConcept
Modules and cratesConcept
The ? operatorConcept
ClosuresConcept
Smart pointersConcept

Macro

NameWhat it does
println!Macro
vec!Macro
format!Macro
panic!Macro
assert!Macro
assert_eq!Macro
dbg!Macro
matches!Macro
todo!Macro
deriveMacro

Trait

NameWhat it does
CloneTrait
CopyTrait
DebugTrait
DisplayTrait
DefaultTrait
IteratorTrait
IntoIteratorTrait
FromTrait
IntoTrait
DropTrait
SendTrait
SyncTrait
DerefTrait
FutureTrait
ErrorTrait

Search across every package and filter by type in your dashboard.

Start learning