Skip to content

steel-feel/RustBasics

Repository files navigation

RustBasics

Learn rust basics 🦀

Learning rust via Learn by examples

Commands

Generate New Rust project using below command

cargo new <project-name> <options> 

command options

  • --bin for binary
  • --lib for library project

Run Project

cargo run

Content

  • Hello World
  • Primitives
  • Custom Types
  • Variable Bindings
  • Types
  • Conversion
  • Expressions
  • Flow of Control
    • if-else
    • loop
    • while
    • for
    • match
  • Functions
  • Modules
  • Crates
  • Cargo
  • Generics
  • Scoping rules
  • Traits
  • Attributes
  • macro_rules!
  • Error handling
  • Std library types
  • Std misc
  • Testing
  • Unsafe Operations
  • Compatibility
  • Meta

Additionals

About

Learn rust basics 🦀

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages