categories
Rust
3 posts tagged here.
Rust Static and Dynamic Dispatch
A Java developer's guide to Rust compile-time and runtime polymorphism using generics, traits, static dispatch, and dyn Trait.
Understanding Rust Associated Types
Compile-time variation, static dispatch, and associated types explained using a SQL dialect use case.
A Session-Scoped Test Fixture in Rust
Rust's test framework lacks pytest-style fixtures. This post shows how to build them using traits, global state, and ctor.