• Image placeholder
  • 홈 페이지
  • 블로그 센터
  • 범주
Image placeholder

ferris

Option & Result

As Rust don't have null, we can use None of Option So how could we check if an Option is None or Some? So we can check and printed right result using match statement. Second, we can check if Option is None or Some(T) by ...

ferrisoptionResultRustResult

Rust - Generics

Generics of Rust is same as Typescript's Generics. We can use Generics "like" this, but not the same. It means, some value of T type might have no std::fmt::Display implement. If we send Vector to print_thing function, a...

ferrisGenericsRustGenerics

© 2022 intrepidgeeks.com

Privacy Policy Contact US Sitemap
🍪 This website uses cookies to ensure you get the best experience on our website. Learn more