BoxedVariantType

Trait BoxedVariantType 

Source
pub trait BoxedVariantType: Debug + DynClone {
    // Required methods
    fn construct(&self, bytes: Vec<u8>) -> BoxedVariantResult<DynBoxedVariant>;
    fn name(&self) -> &'static str;
    fn value_eq(&self, l: &DynBoxedVariant, r: &DynBoxedVariant) -> bool;
    fn value_eq_param(
        &self,
        l: &DynBoxedVariant,
        r: &DynBoxedVariant,
        nulls_eq: bool,
        nans_eq: bool,
    ) -> bool;
}

Required Methods§

Source

fn construct(&self, bytes: Vec<u8>) -> BoxedVariantResult<DynBoxedVariant>

Source

fn name(&self) -> &'static str

Source

fn value_eq(&self, l: &DynBoxedVariant, r: &DynBoxedVariant) -> bool

Source

fn value_eq_param( &self, l: &DynBoxedVariant, r: &DynBoxedVariant, nulls_eq: bool, nans_eq: bool, ) -> bool

Trait Implementations§

Source§

impl Ord for dyn BoxedVariantType

Source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
Source§

impl PartialEq for dyn BoxedVariantType

Source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialOrd for dyn BoxedVariantType

Source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl Eq for dyn BoxedVariantType

Implementors§