Главная
Study mode:
on
1
Introduction
2
Overview
3
Prince of Persia
4
Getting started with traits
5
What happens behind the scenes
6
Board content
7
enums
8
typecasting
9
unit tests
10
from and into
11
I32 trait
12
String trait
13
Board index
14
Board index type
15
Convert board index to usize
16
Parsing
17
FromString
18
RSTest
19
Two Compact String
20
Iterator structure
21
Lifetimes
22
Rows Iterator
23
Iterator
24
IndexMutable
25
Square Assessor
26
Is Valid
27
Behind the Scenes
Description:
Explore the power of Rust traits in this comprehensive conference talk by Rainer Stropek. Delve into the fundamentals of traits, learning how to create and implement them, both manually and automatically. Discover unique features such as default implementations, trait parameters, trait objects, and trait bounds for generics. Through practical demonstrations, understand how traits differ from interfaces in other OO languages like TypeScript, C#, or Java. Gain insights into advanced concepts including enums, typecasting, unit tests, FromStr and Into traits, iterators, lifetimes, and more. Follow along as Rainer builds a Prince of Persia-inspired example, showcasing real-world applications of traits in Rust programming.

Traits in Rust: Beyond Traditional Interfaces - Fundamentals and Advanced Features

Rust
Add to list