Trait GatherCond

Source
pub trait GatherCond<A, L, R, T>: PlatformInstance
where A: Access<u8>, L: Access<T>, R: Access<T>, T: CType,
{ type Op: ReadOp<Self, T>; // Required method fn cond( self, cond: A, then: L, or_else: R, ) -> Result<AccessOp<Self::Op, Self>, Error>; }

Required Associated Types§

Source

type Op: ReadOp<Self, T>

Required Methods§

Source

fn cond( self, cond: A, then: L, or_else: R, ) -> Result<AccessOp<Self::Op, Self>, Error>

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.

Implementors§

Source§

impl<A, L, R, T> GatherCond<A, L, R, T> for Platform
where A: Access<u8>, L: Access<T>, R: Access<T>, T: CType,

Source§

type Op = Cond<A, L, R, T>

Source§

impl<A, L, R, T> GatherCond<A, L, R, T> for Host
where A: Access<u8>, L: Access<T>, R: Access<T>, T: CType,

Source§

type Op = Cond<A, L, R, T>