1 2 3 4 5 6
use std::fmt::Display; use std::str::FromStr; pub trait Kid: PartialEq + Display + FromStr + Clone {} impl<T> Kid for T where T: PartialEq + Display + FromStr + Clone {}