General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
p11
ThePrimeTime
comments
Comments by "p11" (@porky1118) on "Rust Experiment Failed - Static Dispatch IS Hard | Prime Reacts" video.
8:00 There are things you could do to avoid this. 1. Define trains for all of these lines, which are automatically implemented on everything 2. Make a trait ("Traits") to include all these traits (trait Trais { type A: AbusePolicy<Self::D::Tx> + Clone + ...; type C: Clock + Clone ...; ... }) 3. type SimpleDriver<T: Traits> = Driver<Traits::A, Traits::C, ...>;
16