vortex_dtype

Trait NativePType

source
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§

source

fn is_nan(self) -> bool

source

fn compare(self, other: Self) -> Ordering

source

fn is_eq(self, other: Self) -> bool

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl NativePType for f32

source§

const PTYPE: PType = PType::F32

source§

fn is_nan(self) -> bool

source§

fn compare(self, other: Self) -> Ordering

source§

fn is_eq(self, other: Self) -> bool

source§

impl NativePType for f64

source§

const PTYPE: PType = PType::F64

source§

fn is_nan(self) -> bool

source§

fn compare(self, other: Self) -> Ordering

source§

fn is_eq(self, other: Self) -> bool

source§

impl NativePType for i8

source§

const PTYPE: PType = PType::I8

source§

fn is_nan(self) -> bool

source§

fn compare(self, other: Self) -> Ordering

source§

fn is_eq(self, other: Self) -> bool

source§

impl NativePType for i16

source§

const PTYPE: PType = PType::I16

source§

fn is_nan(self) -> bool

source§

fn compare(self, other: Self) -> Ordering

source§

fn is_eq(self, other: Self) -> bool

source§

impl NativePType for i32

source§

const PTYPE: PType = PType::I32

source§

fn is_nan(self) -> bool

source§

fn compare(self, other: Self) -> Ordering

source§

fn is_eq(self, other: Self) -> bool

source§

impl NativePType for i64

source§

const PTYPE: PType = PType::I64

source§

fn is_nan(self) -> bool

source§

fn compare(self, other: Self) -> Ordering

source§

fn is_eq(self, other: Self) -> bool

source§

impl NativePType for u8

source§

const PTYPE: PType = PType::U8

source§

fn is_nan(self) -> bool

source§

fn compare(self, other: Self) -> Ordering

source§

fn is_eq(self, other: Self) -> bool

source§

impl NativePType for u16

source§

const PTYPE: PType = PType::U16

source§

fn is_nan(self) -> bool

source§

fn compare(self, other: Self) -> Ordering

source§

fn is_eq(self, other: Self) -> bool

source§

impl NativePType for u32

source§

const PTYPE: PType = PType::U32

source§

fn is_nan(self) -> bool

source§

fn compare(self, other: Self) -> Ordering

source§

fn is_eq(self, other: Self) -> bool

source§

impl NativePType for u64

source§

const PTYPE: PType = PType::U64

source§

fn is_nan(self) -> bool

source§

fn compare(self, other: Self) -> Ordering

source§

fn is_eq(self, other: Self) -> bool

source§

impl NativePType for f16

source§

const PTYPE: PType = PType::F16

source§

fn is_nan(self) -> bool

source§

fn compare(self, other: Self) -> Ordering

source§

fn is_eq(self, other: Self) -> bool

Implementors§