Can anyone explain why this impl is not allowed? I am trying to make it so I can call functions on my arrays and not have to iterate over it to call functions on the elements of the array. type Bufs<const N: usize> =…
I’m looking for feedback on a pattern for doing type-based dispatch from a fieldless enum. The situation is roughly this: #[derive(Clone, Copy)] enum MyEnum { VarA, VarB, } struct VarA; struct VarB; trait MyVarTrait {…
The rustup team is happy to announce the release of rustup version 1.29.1. Rustup is the recommended tool to install Rust, a programming language that empowers everyone to build reliable and efficient software. What's…