3 ms·
> A trait is object-safe as long as no trait method returns the implementing type (like T::clone() -> T) That, and much more: https://doc.rust-lang.org/referen
by diarrhea 2y ago
> A trait is object-safe as long as no trait method returns the implementing type (like T::clone() -> T)
That, and much more: https://doc.rust-lang.org/reference/items/traits.html#object-safety https://doc.rust-lang.org/reference/items/traits.html#object... .