Elli610 / Rust-crashcourse

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Course 1: generic types, trait and impl

  • We want to compute the area of some basic 2D figure, and the volume of 3D solids
  • We want to be able to create those geometric forms with parameters of different types (u32, f64, String...).
  • We want to implement the same operation for all those different forms
  • Some forms may be composed of other forms

About


Languages

Language:Rust 100.0%