3 ms·
Maybe this wont work for Move speficially, but I like this a solution for the general problem of skipping default traits.
by jeltz 7y ago
Maybe this wont work for Move speficially, but I like this a solution for the general problem of skipping default traits.
- withoutboats 7y agoThe syntax is different but Rust has this feature- its called auto traits, and its how we handle traits related to threadsafety. Its not a solution for what Pin solves because the whole notion that a type might be moveable or not moveable is actually a misstatement of the problem that Pin is solving.