use ggez::graphics::Color as EzColor; use rst_core::data::Color; pub fn to(Color(r, g, b): Color) -> EzColor { EzColor::from_rgb(r, g, b) }