pub trait DeviceRConsumeBitOrAPI<TA, TB, D>: DeviceAPI<TA> + DeviceAPI<TB>{
// Required methods
fn op_muta_refb(
&self,
b: &mut Self::Raw,
lb: &Layout<D>,
a: &Self::Raw,
la: &Layout<D>,
) -> Result<(), Error>;
fn op_muta_numb(
&self,
b: &mut Self::Raw,
lb: &Layout<D>,
a: TA,
) -> Result<(), Error>;
}
Required Methods§
fn op_muta_refb( &self, b: &mut Self::Raw, lb: &Layout<D>, a: &Self::Raw, la: &Layout<D>, ) -> Result<(), Error>
fn op_muta_numb( &self, b: &mut Self::Raw, lb: &Layout<D>, a: TA, ) -> Result<(), 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.