Duration doesn't implement Default. I found this out because I had a struct with #[derive(Default)] and I tried to add a Duration member to it, and that no longer worked. This means that I'd have to manually implement Default, which stinks because the struct has quite a few members. It seems like we could give Duration an implementation that just returns a zero-length Duration.
Durationdoesn't implementDefault. I found this out because I had a struct with#[derive(Default)]and I tried to add aDurationmember to it, and that no longer worked. This means that I'd have to manually implementDefault, which stinks because the struct has quite a few members. It seems like we could giveDurationan implementation that just returns a zero-lengthDuration.