pub trait CubePartialOrd:
PartialOrd
+ CubeType<ExpandType: PartialOrdExpand>
+ CubePrimitive<Scalar: PartialOrdNativeExpand + OrdNativeExpand>
+ Sized {
// Provided methods
fn __expand_partial_cmp(
scope: &Scope,
lhs: &Self::ExpandType,
rhs: &Self::ExpandType,
) -> OptionExpand<Ordering> { ... }
fn __expand_lt(
scope: &Scope,
lhs: &Self::ExpandType,
rhs: &Self::ExpandType,
) -> NativeExpand<bool> { ... }
fn __expand_le(
scope: &Scope,
lhs: &Self::ExpandType,
rhs: &Self::ExpandType,
) -> NativeExpand<bool> { ... }
fn __expand_gt(
scope: &Scope,
lhs: &Self::ExpandType,
rhs: &Self::ExpandType,
) -> NativeExpand<bool> { ... }
fn __expand_ge(
scope: &Scope,
lhs: &Self::ExpandType,
rhs: &Self::ExpandType,
) -> NativeExpand<bool> { ... }
}Provided Methods§
fn __expand_partial_cmp( scope: &Scope, lhs: &Self::ExpandType, rhs: &Self::ExpandType, ) -> OptionExpand<Ordering>
fn __expand_lt( scope: &Scope, lhs: &Self::ExpandType, rhs: &Self::ExpandType, ) -> NativeExpand<bool>
fn __expand_le( scope: &Scope, lhs: &Self::ExpandType, rhs: &Self::ExpandType, ) -> NativeExpand<bool>
fn __expand_gt( scope: &Scope, lhs: &Self::ExpandType, rhs: &Self::ExpandType, ) -> NativeExpand<bool>
fn __expand_ge( scope: &Scope, lhs: &Self::ExpandType, rhs: &Self::ExpandType, ) -> NativeExpand<bool>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".