3 ms·
I think two things fuck with our brains here: - the double negative of „!Unpin” - Rust trait names are not adjectives Pin + Detach(-able) would be a less con
by iknowstuff 2y ago
I think two things fuck with our brains here:
- the double negative of „!Unpin”
- Rust trait names are not adjectives
Pin + Detach(-able) would be a less confusing name.
That being said, you can velcro smooth objects all you want, but you'll still separate (Move) them easily :) or put a magnet to glass/brass objects.
PS mind you that Pin is not a trait, only Unpin is, so Pin<T: Unpin> or Pin<T: !Unpin> is a more accurate way or writing what you described :)