pub trait OpAssignArbitaryAPI<TC, DC, DA, TA = TC>:
DeviceRawAPI<TA>
+ DeviceRawAPI<TC>
+ DeviceRawAPI<MaybeUninit<TC>>{
// Required methods
fn assign_arbitary(
&self,
c: &mut Self::Raw,
lc: &Layout<DC>,
a: &Self::Raw,
la: &Layout<DA>,
) -> Result<(), Error>;
fn assign_arbitary_uninit(
&self,
c: &mut Self::Raw,
lc: &Layout<DC>,
a: &Self::Raw,
la: &Layout<DA>,
) -> Result<(), Error>;
}Required Methods§
Sourcefn assign_arbitary(
&self,
c: &mut Self::Raw,
lc: &Layout<DC>,
a: &Self::Raw,
la: &Layout<DA>,
) -> Result<(), Error>
fn assign_arbitary( &self, c: &mut Self::Raw, lc: &Layout<DC>, a: &Self::Raw, la: &Layout<DA>, ) -> Result<(), Error>
Element-wise assignment in col-major order, without no promise that input layouts are broadcastable.
fn assign_arbitary_uninit( &self, c: &mut Self::Raw, lc: &Layout<DC>, a: &Self::Raw, la: &Layout<DA>, ) -> 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.