Trait IsTypeOf
tyenum
pub trait IsTypeOf<E> { fn is_type_of(e: &E) -> bool; }
fn is_type_of(e: &E) -> bool