Rust’s derive often implies inline
yossarian.netIn Rust, one of the most common ways to implement core traits (like Debug, Display, and Clone) is to #[derive(…)] them, e.g.: #[derive(Debug)] struct Widgets { foo: u32, bar: usize, } What I didn’t know until recently is that Rust … Read more