interesting-rust-codes
Collection of elegant or interesting rust code snippets, not necessarily useful.
Code | Topic |
---|---|
statemachine.rs | Type state |
progress_bar.rs | Type state, Trait |
church_number.rs | Type level programming, Church encoding |
seqcst.rs | Atomic, Memory model |
cpu.rs | Declarive macro |
strsplit.rs | Lifetime |