pub trait Worded { // Required methods fn text(&self) -> String; fn ink(&self) -> Option<u32>; }
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".