RsOp

Trait RsOp 

Source
pub trait RsOp<F: RsFunc> {
    // Required method
    fn rs_op(
        &self,
        f: &F,
        all: &[impl RsId<F>],
        blargs: &[F::Block],
    ) -> Result<TokenStream>;
}

Required Methods§

Source

fn rs_op( &self, f: &F, all: &[impl RsId<F>], blargs: &[F::Block], ) -> Result<TokenStream>

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<F: RsFunc, A: RsOp<F>, B: RsOp<F>> RsOp<F> for Either<A, B>

Source§

fn rs_op( &self, f: &F, all: &[impl RsId<F>], blargs: &[F::Block], ) -> Result<TokenStream>

Implementors§