pub unsafe trait IsFloat: Sealed { fn is_float() -> bool { ... } fn is_nan(&self) -> bool { ... } }
unsafe code downstream relies on the correct is_float call