# rs-cast_trait cast trait ```rust use cast_trait::Cast; fn cast(a: A) -> B where A: Cast, { a.cast() } assert_eq!(cast::(10_i32), 10_f32); ```