Skip to main content

TensorBitAndAPI

Trait TensorBitAndAPI 

Source
pub trait TensorBitAndAPI<TrB> {
    type Output;

    // Required method
    fn bitand_f(a: Self, b: TrB) -> Result<Self::Output, Error>;

    // Provided method
    fn bitand(a: Self, b: TrB) -> Self::Output
       where Self: Sized { ... }
}

Required Associated Types§

Required Methods§

Source

fn bitand_f(a: Self, b: TrB) -> Result<Self::Output, Error>

Provided Methods§

Source

fn bitand(a: Self, b: TrB) -> Self::Output
where Self: Sized,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T, DA, DB, DC, B> TensorBitAndAPI<TensorBase<Storage<DataCow<'_, <B as DeviceRawAPI<T>>::Raw>, T, B>, DB>> for TensorBase<Storage<DataCow<'_, <B as DeviceRawAPI<T>>::Raw>, T, B>, DA>
where DA: DimAPI + DimMaxAPI<DB, Max = DC> + DimIntoAPI<DC>, DB: DimAPI + DimMaxAPI<DA, Max = DC> + DimIntoAPI<DC>, DC: DimAPI + DimIntoAPI<DA> + DimIntoAPI<DB>, B: DeviceAPI<T> + DeviceCreationAnyAPI<T> + OpBitAndAPI<T, T, T, DC> + OpLConsumeBitAndAPI<T, T, DA> + OpRConsumeBitAndAPI<T, T, DB> + OpAssignAPI<T, DA> + OpAssignAPI<T, DB>, T: BitAnd<Output = T> + Clone, <B as DeviceRawAPI<T>>::Raw: Clone,