Trait ilyvion_util::non_nan::NanType
source · pub trait NanType: Copy + Clone + Default + Debug + PartialOrd + PartialEq {
// Required method
fn is_nan(self) -> bool;
}
Expand description
Trait that lets you generalize over types that have a NaN.