Главная
Study mode:
on
1
Intro
2
Rust's type system is worth knowing
3
Basic types - Inference
4
Basic types - Manual
5
Built-in Types An Incomplete list
6
Numeric types
7
A toy
8
Methods for types
9
Constructors
10
Implementing traits
11
It works!
12
Implementing custom traits (cont.)
13
Using custom traits
14
Trait coherence rules (cont.)
15
Useful types from the stdlib
16
Option
17
Result
18
HashMap
19
Useful traits from the stdlib
20
From / Into (cont.)
21
FromStr
22
Implementing Debug and Display
23
Implementing Display
24
Deriving Debug
Description:
Explore Rust's powerful type system and traits in this 44-minute conference talk from PDXRust. Dive into basic types, inference, and manual type declaration before examining built-in types, including numeric types. Learn about methods for types, constructors, and implementing traits. Discover how to create and use custom traits while understanding trait coherence rules. Gain insights into useful types from the standard library such as Option, Result, and HashMap. Master essential traits like From/Into, FromStr, Debug, and Display. By the end, grasp how to implement custom traits and leverage Rust's derive functionality for debugging.

Traits and Types in Rust - PDXRust May 2016

Rust
Add to list
00:00
-00:21