Trait Not

Source
pub trait Not: CubePrimitive + Sized {
    // Provided methods
    fn not(x: Self) -> Self { ... }
    fn __expand_not(
        context: &mut CubeContext,
        x: Self::ExpandType,
    ) -> ExpandElementTyped<Self> { ... }
}

Provided Methods§

Source

fn not(x: Self) -> Self

Source

fn __expand_not( context: &mut CubeContext, x: Self::ExpandType, ) -> 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 Not for i8

Source§

impl Not for i16

Source§

impl Not for i32

Source§

impl Not for i64

Source§

impl Not for u8

Source§

impl Not for u16

Source§

impl Not for u32

Source§

impl Not for u64

Implementors§