Skip to main content

CubeNeg

Trait CubeNeg 

Source
pub trait CubeNeg:
    Neg<Output = Self>
    + CubePrimitive<Scalar: NegNativeExpand>
    + IntoExpand<Expand = <Self as CubeType>::ExpandType>
    + CubeType<ExpandType: NegExpand>
    + Sized {
    // Provided methods
    fn __expand_neg_method(self, scope: &Scope) -> NativeExpand<Self> { ... }
    fn __expand_neg(
        scope: &Scope,
        lhs: NativeExpand<Self>,
    ) -> NativeExpand<Self> { ... }
}

Provided Methods§

Source

fn __expand_neg_method(self, scope: &Scope) -> NativeExpand<Self>

Source

fn __expand_neg(scope: &Scope, lhs: NativeExpand<Self>) -> NativeExpand<Self>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<T: Neg<Output = Self> + CubePrimitive<Scalar: NegNativeExpand> + IntoExpand<Expand = <Self as CubeType>::ExpandType>> CubeNeg for T