Skip to main content

CubeOrd

Trait CubeOrd 

Source
pub trait CubeOrd:
    Ord
    + CubePartialOrd
    + CubeType<ExpandType: OrdExpand>
    + CubePrimitive<Scalar: OrdNativeExpand>
    + Sized
    + IntoExpand<Expand = <Self as CubeType>::ExpandType> {
    // Provided methods
    fn __expand_min_method(
        self,
        scope: &Scope,
        rhs: Self::ExpandType,
    ) -> Self::ExpandType { ... }
    fn __expand_max_method(
        self,
        scope: &Scope,
        rhs: Self::ExpandType,
    ) -> Self::ExpandType { ... }
    fn __expand_clamp_method(
        self,
        scope: &Scope,
        min: Self::ExpandType,
        max: Self::ExpandType,
    ) -> Self::ExpandType { ... }
    fn __expand_cmp(
        scope: &Scope,
        lhs: &Self::ExpandType,
        rhs: &Self::ExpandType,
    ) -> OrderingExpand { ... }
    fn __expand_min(
        scope: &Scope,
        lhs: Self::ExpandType,
        rhs: Self::ExpandType,
    ) -> Self::ExpandType { ... }
    fn __expand_max(
        scope: &Scope,
        lhs: Self::ExpandType,
        rhs: Self::ExpandType,
    ) -> Self::ExpandType { ... }
    fn __expand_clamp(
        scope: &Scope,
        lhs: Self::ExpandType,
        min: Self::ExpandType,
        max: Self::ExpandType,
    ) -> Self::ExpandType { ... }
}

Provided Methods§

Source

fn __expand_min_method( self, scope: &Scope, rhs: Self::ExpandType, ) -> Self::ExpandType

Source

fn __expand_max_method( self, scope: &Scope, rhs: Self::ExpandType, ) -> Self::ExpandType

Source

fn __expand_clamp_method( self, scope: &Scope, min: Self::ExpandType, max: Self::ExpandType, ) -> Self::ExpandType

Source

fn __expand_cmp( scope: &Scope, lhs: &Self::ExpandType, rhs: &Self::ExpandType, ) -> OrderingExpand

Source

fn __expand_min( scope: &Scope, lhs: Self::ExpandType, rhs: Self::ExpandType, ) -> Self::ExpandType

Source

fn __expand_max( scope: &Scope, lhs: Self::ExpandType, rhs: Self::ExpandType, ) -> Self::ExpandType

Source

fn __expand_clamp( scope: &Scope, lhs: Self::ExpandType, min: Self::ExpandType, max: Self::ExpandType, ) -> Self::ExpandType

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§