Jarvis Carroll

Results 3 comments of Jarvis Carroll

I have a use case.. I'm trying to make polydimensional array DSTs, which is all well and good, but I would like to implement movable-reference semantics, which means making a...

use case: making a generic union based on a type-level cons list, and a downcast trait, ```rust trait TypeInfo {} trait Downcast {} union Cons where A: Copy + TypeInfo,...

In the case of indexing, what would happen to `s[i].do()`, for some `impl T {fn do(&self);}`? would it become `s.index_move(i).do()` by rule 6 or perhaps worse `s.index(i).clone().do()` by rule 5,...