pub trait DeviceCreationTriAPI<T>: DeviceRawAPI<T>where
T: Num,{
// Required methods
fn tril_impl<D>(
&self,
raw: &mut Self::Raw,
layout: &Layout<D>,
k: isize,
) -> Result<(), Error>
where D: DimAPI;
fn triu_impl<D>(
&self,
raw: &mut Self::Raw,
layout: &Layout<D>,
k: isize,
) -> Result<(), Error>
where D: DimAPI;
}
Required Methods§
fn tril_impl<D>(
&self,
raw: &mut Self::Raw,
layout: &Layout<D>,
k: isize,
) -> Result<(), Error>where
D: DimAPI,
fn triu_impl<D>(
&self,
raw: &mut Self::Raw,
layout: &Layout<D>,
k: isize,
) -> Result<(), Error>where
D: DimAPI,
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.