pub trait CubeOrd:
Ord
+ CubeType<ExpandType: OrdExpand>
+ Sized {
// Provided methods
fn __expand_min(
scope: &mut Scope,
lhs: Self::ExpandType,
rhs: Self::ExpandType,
) -> Self::ExpandType { ... }
fn __expand_max(
scope: &mut Scope,
lhs: Self::ExpandType,
rhs: Self::ExpandType,
) -> Self::ExpandType { ... }
fn __expand_clamp(
scope: &mut Scope,
lhs: Self::ExpandType,
min: Self::ExpandType,
max: Self::ExpandType,
) -> Self::ExpandType { ... }
}Provided Methods§
fn __expand_min( scope: &mut Scope, lhs: Self::ExpandType, rhs: Self::ExpandType, ) -> Self::ExpandType
fn __expand_max( scope: &mut Scope, lhs: Self::ExpandType, rhs: Self::ExpandType, ) -> Self::ExpandType
fn __expand_clamp( scope: &mut 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", so this trait is not object safe.