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