pub trait NativePType:
Send
+ Sync
+ Clone
+ Copy
+ Debug
+ Display
+ PartialEq
+ PartialOrd
+ Default
+ RefUnwindSafe
+ Num
+ NumCast
+ FromPrimitive
+ ToBytes
+ TryFromBytes {
const PTYPE: PType;
// Required methods
fn is_nan(self) -> bool;
fn compare(self, other: Self) -> Ordering;
fn is_eq(self, other: Self) -> bool;
}Required Associated Constants§
Required Methods§
fn is_nan(self) -> bool
fn compare(self, other: Self) -> Ordering
fn is_eq(self, other: Self) -> bool
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.