Back to Bevy

`Ref` now directly implements `Clone` and `Copy`

_release-content/migration-guides/copyable_ref.md

0.19.0252 B
Original Source

Ref now implements Clone and Copy, which means calling ref.clone() now returns another Ref<T> rather than a cloned inner T. To continue cloning the inner T, use ref.as_ref().clone(), ref.deref().clone(), or ref.into_inner().clone().