pub trait MaybeNa {
// Required method
fn has_na(&self) -> bool;
}Expand description
A type whose values can hold R’s NA, with the check NonNa::new
makes.
has_na counts what anyNA() counts: NA_integer_,
NA logicals, NaN doubles and complex numbers (R’s NA_real_ is one),
and None, which is how an Option element holds NA. A String never
holds one: R’s NA_character_ has no String form.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".