Function swiss_army_knife::move_to_front_of_vec
source · [−]Expand description
Forcing the constraint of T: Copy
ensures that we do not need to drop the discarded values (Copy is incompatible with Drop).
Forcing the constraint of T: Copy
ensures that we do not need to drop the discarded values (Copy is incompatible with Drop).