pub trait BindColor { // Required method fn to_argb(self) -> u32; }
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".