Skip to main content

CubeOr

Trait CubeOr 

Source
pub trait CubeOr:
    CubePrimitive
    + Into<ExpandValue>
    + CubeType<ExpandType: OrExpand>
    + Sized {
    // Provided methods
    fn __expand_or_method(
        self,
        scope: &Scope,
        rhs: NativeExpand<Self>,
    ) -> NativeExpand<Self> { ... }
    fn __expand_or(
        scope: &Scope,
        lhs: NativeExpand<Self>,
        rhs: NativeExpand<Self>,
    ) -> NativeExpand<Self> { ... }
}

Provided Methods§

Source

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

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl CubeOr for bool

Implementors§