Skip to main content

PartialOrdExpand

Trait PartialOrdExpand 

Source
pub trait PartialOrdExpand {
    // Required methods
    fn __expand_partial_cmp_method(
        &self,
        scope: &Scope,
        rhs: &Self,
    ) -> OptionExpand<Ordering>;
    fn __expand_lt_method(
        &self,
        scope: &Scope,
        rhs: &Self,
    ) -> NativeExpand<bool>;
    fn __expand_le_method(
        &self,
        scope: &Scope,
        rhs: &Self,
    ) -> NativeExpand<bool>;
    fn __expand_gt_method(
        &self,
        scope: &Scope,
        rhs: &Self,
    ) -> NativeExpand<bool>;
    fn __expand_ge_method(
        &self,
        scope: &Scope,
        rhs: &Self,
    ) -> NativeExpand<bool>;
}

Required Methods§

Source

fn __expand_partial_cmp_method( &self, scope: &Scope, rhs: &Self, ) -> OptionExpand<Ordering>

Source

fn __expand_lt_method(&self, scope: &Scope, rhs: &Self) -> NativeExpand<bool>

Source

fn __expand_le_method(&self, scope: &Scope, rhs: &Self) -> NativeExpand<bool>

Source

fn __expand_gt_method(&self, scope: &Scope, rhs: &Self) -> NativeExpand<bool>

Source

fn __expand_ge_method(&self, scope: &Scope, rhs: &Self) -> NativeExpand<bool>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§