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