pub trait StateVisualMapping<T, U>: Send + Sync { // Required method fn to_visual(&self, state: &T) -> U; }