Major struggling with using #Rust traits.
I've put the relevant bits of code here;
https://pastebin.com/tqBLiqdZ
I've written a trait that has associated types <T1, T2>, and is implemented for a struct with basic types <usize, i32>.
In another function with the trait boundary Struct<t1, t2> : trait<t1, t2>, I'm trying to use the object to call the functions in the trait.
Rust is unhappywith <t1, t2>, and instead wants where Struct<'_, t1, i32>: STruct<'t1, i32>
Could anyone please explain why?