Min

Trait Min 

Source
pub trait Min: CubeType + Sized {
    // Provided methods
    fn min(self, _rhs: Self) -> Self { ... }
    fn __expand_min(
        scope: &mut Scope,
        lhs: ExpandElementTyped<Self>,
        rhs: ExpandElementTyped<Self>,
    ) -> ExpandElementTyped<Self> { ... }
}

Provided Methods§

Source

fn min(self, _rhs: Self) -> Self

Source

fn __expand_min( scope: &mut Scope, lhs: ExpandElementTyped<Self>, rhs: ExpandElementTyped<Self>, ) -> ExpandElementTyped<Self>

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.

Implementations on Foreign Types§

Source§

impl Min for f32

Source§

impl Min for f64

Source§

impl Min for i8

Source§

impl Min for i16

Source§

impl Min for i32

Source§

impl Min for i64

Source§

impl Min for u8

Source§

impl Min for u16

Source§

impl Min for u32

Source§

impl Min for u64

Source§

impl Min for e2m1

Source§

impl Min for e4m3

Source§

impl Min for e5m2

Source§

impl Min for ue8m0

Source§

impl Min for bf16

Source§

impl Min for f16

Implementors§

Source§

impl Min for flex32

Source§

impl Min for tf32

Source§

impl<P: CubePrimitive + Min> Min for Line<P>

Source§

impl<const POS: u8> Min for ElemExpand<POS>

Source§

impl<const POS: u8> Min for IntExpand<POS>