Struct ArrayBase

Source
pub struct ArrayBase<Backend: Backend, StorageType: Storage, NDims: Dimension> { /* private fields */ }
Expand description

The base type for all arrays. This type should not be used directly – it is used through various type aliases to make the API more ergonomic.

Implementations§

Source§

impl<Backend, StorageType, NDims> ArrayBase<Backend, StorageType, NDims>
where Backend: Backend, StorageType: Storage, NDims: Dimension,

Source

pub const fn new(axes: Axes<NDims>, storage: StorageType) -> Self
where StorageType: OwnedStorage,

Create a new ArrayBase object with the given axes and storage.

Source

pub unsafe fn new_empty(shape: NDims) -> Self
where StorageType: OwnedStorage,

Create a new ArrayBase object with allocated, but uninitialized storage.

§Safety

The values in the Array are not initialized, so will almost certainly contain garbage data. Every element in the array should be written to before being read from.

§Example
// TODO: Refactor some of this into a single prelude
use tensr::array::base::ArrayBase;
use tensr::dimension::dim::Dim2;
use tensr::backend::host::host_storage::HostStorage;
use tensr::backend::host::host_backend::HostBackend;
use crate::tensr::backend::traits::ContainerLength;

let mut array = unsafe { ArrayBase::<HostBackend, HostStorage<i32>, Dim2>::new_empty(Dim2::new([3, 4])) };
assert_eq!(array.len(), 12);
Source

pub fn zeros(shape: NDims) -> Self
where StorageType: OwnedStorage, StorageType::Scalar: Zero,

Source

pub fn ones(shape: NDims) -> Self
where StorageType: OwnedStorage, StorageType::Scalar: One,

Source

pub fn new_with(shape: NDims, value: StorageType::Scalar) -> Self
where StorageType: OwnedStorage,

Source

pub fn fill(&mut self, value: StorageType::Scalar)

Source

pub const fn shape(&self) -> &NDims

Get the dimensions of the array

Source

pub const fn strides(&self) -> &NDims

Get the strides of the array

Trait Implementations§

Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Add<&'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::AddKernel, &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the + operator.
Source§

fn add( self, rhs: &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Add<&'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::AddKernel, &'a TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the + operator.
Source§

fn add( self, rhs: &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Add<&'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::AddKernel, &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the + operator.
Source§

fn add( self, rhs: &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Add<&'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a mut TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::AddKernel, &'a mut TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the + operator.
Source§

fn add( self, rhs: &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Add<&'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::AddKernel, ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the + operator.
Source§

fn add( self, rhs: &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Add<&'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::AddKernel, TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the + operator.
Source§

fn add( self, rhs: &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Add<&'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::AddKernel, &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the + operator.
Source§

fn add( self, rhs: &'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Add<&'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::AddKernel, &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the + operator.
Source§

fn add( self, rhs: &'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Add<&'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::AddKernel, ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the + operator.
Source§

fn add( self, rhs: &'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Add<&'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::AddKernel, &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the + operator.
Source§

fn add( self, rhs: &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Add<&'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::AddKernel, &'a TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the + operator.
Source§

fn add( self, rhs: &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Add<&'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::AddKernel, &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the + operator.
Source§

fn add( self, rhs: &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Add<&'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a mut TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::AddKernel, &'a mut TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the + operator.
Source§

fn add( self, rhs: &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Add<&'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::AddKernel, ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the + operator.
Source§

fn add( self, rhs: &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Add<&'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::AddKernel, TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the + operator.
Source§

fn add( self, rhs: &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Add<&'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::AddKernel, &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the + operator.
Source§

fn add( self, rhs: &'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Add<&'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::AddKernel, &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the + operator.
Source§

fn add( self, rhs: &'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Add<&'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::AddKernel, ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the + operator.
Source§

fn add( self, rhs: &'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Add<ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::AddKernel, &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: ArrayBase<Backend, StorageTypeRhs, NDimsRhs>) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Add<ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::AddKernel, &'a TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: ArrayBase<Backend, StorageTypeRhs, NDimsRhs>) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Add<ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::AddKernel, &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: ArrayBase<Backend, StorageTypeRhs, NDimsRhs>) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Add<ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a mut TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::AddKernel, &'a mut TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: ArrayBase<Backend, StorageTypeRhs, NDimsRhs>) -> Self::Output

Performs the + operation. Read more
Source§

impl<Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Add<ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'static, Backend, <Backend as Backend>::AddKernel, ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: ArrayBase<Backend, StorageTypeRhs, NDimsRhs>) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Add<ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::AddKernel, TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: ArrayBase<Backend, StorageTypeRhs, NDimsRhs>) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Add<TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::AddKernel, &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the + operator.
Source§

fn add( self, rhs: TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Add<TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::AddKernel, &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the + operator.
Source§

fn add( self, rhs: TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Add<TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::AddKernel, ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the + operator.
Source§

fn add( self, rhs: TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the + operation. Read more
Source§

impl<'a, Backend, StorageType, NDims> ContainerBackendType for &'a ArrayBase<Backend, StorageType, NDims>
where Backend: Backend, StorageType: Storage, NDims: Dimension,

Source§

type Backend = Backend

Source§

impl<'a, Backend, StorageType, NDims> ContainerBackendType for &'a mut ArrayBase<Backend, StorageType, NDims>
where Backend: Backend, StorageType: Storage, NDims: Dimension,

Source§

type Backend = Backend

Source§

impl<Backend, StorageType, NDims> ContainerBackendType for ArrayBase<Backend, StorageType, NDims>
where Backend: Backend, StorageType: Storage, NDims: Dimension,

Source§

type Backend = Backend

Source§

impl<'a, Backend, StorageType, NDims> ContainerLength for &'a ArrayBase<Backend, StorageType, NDims>
where Backend: Backend, StorageType: Storage, NDims: Dimension,

Source§

fn len(&self) -> usize

Returns the length of the container
Source§

fn is_empty(&self) -> bool

Returns true if the container is empty. This is equivalent to self.len() == 0.
Source§

impl<'a, Backend, StorageType, NDims> ContainerLength for &'a mut ArrayBase<Backend, StorageType, NDims>
where Backend: Backend, StorageType: Storage, NDims: Dimension,

Source§

fn len(&self) -> usize

Returns the length of the container
Source§

fn is_empty(&self) -> bool

Returns true if the container is empty. This is equivalent to self.len() == 0.
Source§

impl<Backend, StorageType, NDims> ContainerLength for ArrayBase<Backend, StorageType, NDims>
where Backend: Backend, StorageType: Storage, NDims: Dimension,

Source§

fn len(&self) -> usize

Returns the length of the container
Source§

fn is_empty(&self) -> bool

Returns true if the container is empty. This is equivalent to self.len() == 0.
Source§

impl<'a, Backend, StorageType, NDims> ContainerScalarType for &'a ArrayBase<Backend, StorageType, NDims>
where Backend: Backend, StorageType: Storage, NDims: Dimension,

Source§

type Scalar = <StorageType as ContainerScalarType>::Scalar

The scalar type of the container
Source§

impl<'a, Backend, StorageType, NDims> ContainerScalarType for &'a mut ArrayBase<Backend, StorageType, NDims>
where Backend: Backend, StorageType: Storage, NDims: Dimension,

Source§

type Scalar = <StorageType as ContainerScalarType>::Scalar

The scalar type of the container
Source§

impl<Backend, StorageType, NDims> ContainerScalarType for ArrayBase<Backend, StorageType, NDims>
where Backend: Backend, StorageType: Storage, NDims: Dimension,

Source§

type Scalar = <StorageType as ContainerScalarType>::Scalar

The scalar type of the container
Source§

impl<'a, Backend, StorageType, NDims> ContainerStorageAccessor for &'a ArrayBase<Backend, StorageType, NDims>
where Backend: Backend, StorageType: Storage, NDims: Dimension,

Source§

fn get_storage(&self) -> &Self::Storage

Return a reference to the underlying storage
Source§

impl<'a, Backend, StorageType, NDims> ContainerStorageAccessor for &'a mut ArrayBase<Backend, StorageType, NDims>
where Backend: Backend, StorageType: Storage, NDims: Dimension,

Source§

fn get_storage(&self) -> &Self::Storage

Return a reference to the underlying storage
Source§

impl<Backend, StorageType, NDims> ContainerStorageAccessor for ArrayBase<Backend, StorageType, NDims>
where Backend: Backend, StorageType: Storage, NDims: Dimension,

Source§

fn get_storage(&self) -> &Self::Storage

Return a reference to the underlying storage
Source§

impl<'a, Backend, StorageType, NDims> ContainerStorageType for &'a ArrayBase<Backend, StorageType, NDims>
where Backend: Backend, StorageType: Storage, NDims: Dimension,

Source§

type Storage = StorageType

The storage type of the container
Source§

impl<'a, Backend, StorageType, NDims> ContainerStorageType for &'a mut ArrayBase<Backend, StorageType, NDims>
where Backend: Backend, StorageType: Storage, NDims: Dimension,

Source§

type Storage = StorageType

The storage type of the container
Source§

impl<Backend, StorageType, NDims> ContainerStorageType for ArrayBase<Backend, StorageType, NDims>
where Backend: Backend, StorageType: Storage, NDims: Dimension,

Source§

type Storage = StorageType

The storage type of the container
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Div<&'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::DivKernel, &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the / operator.
Source§

fn div( self, rhs: &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the / operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Div<&'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::DivKernel, &'a TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the / operator.
Source§

fn div( self, rhs: &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the / operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Div<&'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::DivKernel, &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the / operator.
Source§

fn div( self, rhs: &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the / operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Div<&'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a mut TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::DivKernel, &'a mut TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the / operator.
Source§

fn div( self, rhs: &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the / operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Div<&'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::DivKernel, ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the / operator.
Source§

fn div( self, rhs: &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the / operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Div<&'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::DivKernel, TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the / operator.
Source§

fn div( self, rhs: &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the / operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Div<&'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::DivKernel, &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the / operator.
Source§

fn div( self, rhs: &'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the / operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Div<&'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::DivKernel, &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the / operator.
Source§

fn div( self, rhs: &'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the / operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Div<&'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::DivKernel, ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the / operator.
Source§

fn div( self, rhs: &'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the / operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Div<&'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::DivKernel, &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the / operator.
Source§

fn div( self, rhs: &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the / operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Div<&'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::DivKernel, &'a TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the / operator.
Source§

fn div( self, rhs: &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the / operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Div<&'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::DivKernel, &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the / operator.
Source§

fn div( self, rhs: &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the / operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Div<&'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a mut TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::DivKernel, &'a mut TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the / operator.
Source§

fn div( self, rhs: &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the / operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Div<&'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::DivKernel, ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the / operator.
Source§

fn div( self, rhs: &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the / operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Div<&'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::DivKernel, TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the / operator.
Source§

fn div( self, rhs: &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the / operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Div<&'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::DivKernel, &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the / operator.
Source§

fn div( self, rhs: &'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the / operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Div<&'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::DivKernel, &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the / operator.
Source§

fn div( self, rhs: &'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the / operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Div<&'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::DivKernel, ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the / operator.
Source§

fn div( self, rhs: &'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the / operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Div<ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::DivKernel, &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: ArrayBase<Backend, StorageTypeRhs, NDimsRhs>) -> Self::Output

Performs the / operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Div<ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::DivKernel, &'a TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: ArrayBase<Backend, StorageTypeRhs, NDimsRhs>) -> Self::Output

Performs the / operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Div<ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::DivKernel, &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: ArrayBase<Backend, StorageTypeRhs, NDimsRhs>) -> Self::Output

Performs the / operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Div<ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a mut TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::DivKernel, &'a mut TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: ArrayBase<Backend, StorageTypeRhs, NDimsRhs>) -> Self::Output

Performs the / operation. Read more
Source§

impl<Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Div<ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'static, Backend, <Backend as Backend>::DivKernel, ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: ArrayBase<Backend, StorageTypeRhs, NDimsRhs>) -> Self::Output

Performs the / operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Div<ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::DivKernel, TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: ArrayBase<Backend, StorageTypeRhs, NDimsRhs>) -> Self::Output

Performs the / operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Div<TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::DivKernel, &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the / operator.
Source§

fn div( self, rhs: TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the / operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Div<TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::DivKernel, &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the / operator.
Source§

fn div( self, rhs: TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the / operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Div<TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::DivKernel, ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the / operator.
Source§

fn div( self, rhs: TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the / operation. Read more
Source§

impl<'a, Backend, StorageType, NDims> GetWriteableBuffer for &'a ArrayBase<Backend, StorageType, NDims>
where Backend: Backend, StorageType: Storage + GetWriteableBuffer, NDims: Dimension,

Source§

type Buffer = <StorageType as GetWriteableBuffer>::Buffer

Source§

unsafe fn get_buffer_and_set_no_free( &mut self, _: usize, ) -> Option<Self::Buffer>

If possible, return the underlying buffer and tell this container to not free the data when it is dropped. This enables data reuse in the lazy evaluated function system. Read more
Source§

impl<'a, Backend, StorageType, NDims> GetWriteableBuffer for &'a mut ArrayBase<Backend, StorageType, NDims>
where Backend: Backend, StorageType: Storage + GetWriteableBuffer, NDims: Dimension,

Source§

type Buffer = <StorageType as GetWriteableBuffer>::Buffer

Source§

unsafe fn get_buffer_and_set_no_free( &mut self, _: usize, ) -> Option<Self::Buffer>

If possible, return the underlying buffer and tell this container to not free the data when it is dropped. This enables data reuse in the lazy evaluated function system. Read more
Source§

impl<Backend, StorageType, NDims> GetWriteableBuffer for ArrayBase<Backend, StorageType, NDims>
where Backend: Backend, StorageType: Storage + GetWriteableBuffer, NDims: Dimension,

Source§

type Buffer = <StorageType as GetWriteableBuffer>::Buffer

Source§

unsafe fn get_buffer_and_set_no_free( &mut self, len: usize, ) -> Option<Self::Buffer>

If possible, return the underlying buffer and tell this container to not free the data when it is dropped. This enables data reuse in the lazy evaluated function system. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Mul<&'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::MulKernel, &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the * operator.
Source§

fn mul( self, rhs: &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Mul<&'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::MulKernel, &'a TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the * operator.
Source§

fn mul( self, rhs: &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Mul<&'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::MulKernel, &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the * operator.
Source§

fn mul( self, rhs: &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Mul<&'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a mut TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::MulKernel, &'a mut TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the * operator.
Source§

fn mul( self, rhs: &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Mul<&'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::MulKernel, ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the * operator.
Source§

fn mul( self, rhs: &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Mul<&'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::MulKernel, TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the * operator.
Source§

fn mul( self, rhs: &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Mul<&'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::MulKernel, &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the * operator.
Source§

fn mul( self, rhs: &'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Mul<&'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::MulKernel, &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the * operator.
Source§

fn mul( self, rhs: &'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Mul<&'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::MulKernel, ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the * operator.
Source§

fn mul( self, rhs: &'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Mul<&'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::MulKernel, &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the * operator.
Source§

fn mul( self, rhs: &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Mul<&'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::MulKernel, &'a TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the * operator.
Source§

fn mul( self, rhs: &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Mul<&'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::MulKernel, &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the * operator.
Source§

fn mul( self, rhs: &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Mul<&'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a mut TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::MulKernel, &'a mut TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the * operator.
Source§

fn mul( self, rhs: &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Mul<&'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::MulKernel, ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the * operator.
Source§

fn mul( self, rhs: &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Mul<&'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::MulKernel, TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the * operator.
Source§

fn mul( self, rhs: &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Mul<&'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::MulKernel, &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the * operator.
Source§

fn mul( self, rhs: &'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Mul<&'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::MulKernel, &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the * operator.
Source§

fn mul( self, rhs: &'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Mul<&'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::MulKernel, ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the * operator.
Source§

fn mul( self, rhs: &'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Mul<ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::MulKernel, &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: ArrayBase<Backend, StorageTypeRhs, NDimsRhs>) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Mul<ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::MulKernel, &'a TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: ArrayBase<Backend, StorageTypeRhs, NDimsRhs>) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Mul<ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::MulKernel, &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: ArrayBase<Backend, StorageTypeRhs, NDimsRhs>) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Mul<ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a mut TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::MulKernel, &'a mut TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: ArrayBase<Backend, StorageTypeRhs, NDimsRhs>) -> Self::Output

Performs the * operation. Read more
Source§

impl<Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Mul<ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'static, Backend, <Backend as Backend>::MulKernel, ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: ArrayBase<Backend, StorageTypeRhs, NDimsRhs>) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Mul<ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::MulKernel, TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: ArrayBase<Backend, StorageTypeRhs, NDimsRhs>) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Mul<TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::MulKernel, &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the * operator.
Source§

fn mul( self, rhs: TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Mul<TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::MulKernel, &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the * operator.
Source§

fn mul( self, rhs: TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Mul<TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::MulKernel, ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the * operator.
Source§

fn mul( self, rhs: TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the * operation. Read more
Source§

impl<'a, Backend, StorageType, NDims> MutableContainerStorageAccessor for &'a mut ArrayBase<Backend, StorageType, NDims>
where Backend: Backend, StorageType: Storage, NDims: Dimension,

Source§

fn get_storage_mut(&mut self) -> &mut Self::Storage

Return a mutable reference to the underlying storage
Source§

impl<Backend, StorageType, NDims> MutableContainerStorageAccessor for ArrayBase<Backend, StorageType, NDims>
where Backend: Backend, StorageType: Storage, NDims: Dimension,

Source§

fn get_storage_mut(&mut self) -> &mut Self::Storage

Return a mutable reference to the underlying storage
Source§

impl<'a, StorageType, NDims> ScalarAccessor for &'a ArrayBase<HostBackend, StorageType, NDims>
where StorageType: Storage, NDims: Dimension,

Source§

fn get_scalar(&self, index: usize) -> Self::Scalar

Return the index’th element of a data container or wrapper
Source§

impl<'a, StorageType, NDims> ScalarAccessor for &'a mut ArrayBase<HostBackend, StorageType, NDims>
where StorageType: Storage, NDims: Dimension,

Source§

fn get_scalar(&self, index: usize) -> Self::Scalar

Return the index’th element of a data container or wrapper
Source§

impl<StorageType, NDims> ScalarAccessor for ArrayBase<HostBackend, StorageType, NDims>
where StorageType: Storage, NDims: Dimension,

Source§

fn get_scalar(&self, index: usize) -> Self::Scalar

Return the index’th element of a data container or wrapper
Source§

impl<'a, StorageType, NDims> ScalarWriter for &'a mut ArrayBase<HostBackend, StorageType, NDims>
where StorageType: Storage, NDims: Dimension,

Source§

fn write_scalar(&mut self, value: Self::Scalar, index: usize)

Write a value to the index’th element of a data container or wrapper
Source§

impl<StorageType, NDims> ScalarWriter for ArrayBase<HostBackend, StorageType, NDims>
where StorageType: Storage, NDims: Dimension,

Source§

fn write_scalar(&mut self, value: Self::Scalar, index: usize)

Write a value to the index’th element of a data container or wrapper
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Sub<&'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::SubKernel, &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the - operator.
Source§

fn sub( self, rhs: &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Sub<&'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::SubKernel, &'a TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the - operator.
Source§

fn sub( self, rhs: &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Sub<&'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::SubKernel, &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the - operator.
Source§

fn sub( self, rhs: &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Sub<&'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a mut TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::SubKernel, &'a mut TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the - operator.
Source§

fn sub( self, rhs: &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Sub<&'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::SubKernel, ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the - operator.
Source§

fn sub( self, rhs: &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Sub<&'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::SubKernel, TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the - operator.
Source§

fn sub( self, rhs: &'a ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Sub<&'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::SubKernel, &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the - operator.
Source§

fn sub( self, rhs: &'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Sub<&'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::SubKernel, &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the - operator.
Source§

fn sub( self, rhs: &'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Sub<&'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::SubKernel, ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the - operator.
Source§

fn sub( self, rhs: &'a TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Sub<&'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::SubKernel, &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the - operator.
Source§

fn sub( self, rhs: &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Sub<&'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::SubKernel, &'a TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the - operator.
Source§

fn sub( self, rhs: &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Sub<&'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::SubKernel, &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the - operator.
Source§

fn sub( self, rhs: &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Sub<&'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a mut TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::SubKernel, &'a mut TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the - operator.
Source§

fn sub( self, rhs: &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Sub<&'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::SubKernel, ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the - operator.
Source§

fn sub( self, rhs: &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Sub<&'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::SubKernel, TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the - operator.
Source§

fn sub( self, rhs: &'a mut ArrayBase<Backend, StorageTypeRhs, NDimsRhs>, ) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Sub<&'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::SubKernel, &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the - operator.
Source§

fn sub( self, rhs: &'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Sub<&'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::SubKernel, &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the - operator.
Source§

fn sub( self, rhs: &'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Sub<&'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::SubKernel, ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, &'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the - operator.
Source§

fn sub( self, rhs: &'a mut TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Sub<ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::SubKernel, &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: ArrayBase<Backend, StorageTypeRhs, NDimsRhs>) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Sub<ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::SubKernel, &'a TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: ArrayBase<Backend, StorageTypeRhs, NDimsRhs>) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Sub<ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::SubKernel, &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: ArrayBase<Backend, StorageTypeRhs, NDimsRhs>) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Sub<ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for &'a mut TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::SubKernel, &'a mut TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: ArrayBase<Backend, StorageTypeRhs, NDimsRhs>) -> Self::Output

Performs the - operation. Read more
Source§

impl<Backend, StorageTypeLhs, NDimsLhs, StorageTypeRhs, NDimsRhs> Sub<ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'static, Backend, <Backend as Backend>::SubKernel, ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: ArrayBase<Backend, StorageTypeRhs, NDimsRhs>) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs, StorageTypeRhs, NDimsRhs> Sub<ArrayBase<Backend, StorageTypeRhs, NDimsRhs>> for TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>
where Backend: Backend, OpLhs: BinaryOp, LhsTypeLhs: GetWriteableBuffer, RhsTypeLhs: GetWriteableBuffer<Buffer = LhsTypeLhs::Buffer>, StorageTypeRhs: Storage, NDimsRhs: Dimension,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::SubKernel, TensrFn2<'a, Backend, OpLhs, LhsTypeLhs, RhsTypeLhs>, ArrayBase<Backend, StorageTypeRhs, NDimsRhs>>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: ArrayBase<Backend, StorageTypeRhs, NDimsRhs>) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Sub<TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::SubKernel, &'a ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the - operator.
Source§

fn sub( self, rhs: TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Sub<TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::SubKernel, &'a mut ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the - operator.
Source§

fn sub( self, rhs: TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the - operation. Read more
Source§

impl<'a, Backend, StorageTypeLhs, NDimsLhs, OpRhs, LhsTypeRhs, RhsTypeRhs> Sub<TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>> for ArrayBase<Backend, StorageTypeLhs, NDimsLhs>
where Backend: Backend, StorageTypeLhs: Storage, NDimsLhs: Dimension, OpRhs: BinaryOp, LhsTypeRhs: GetWriteableBuffer, RhsTypeRhs: GetWriteableBuffer<Buffer = LhsTypeRhs::Buffer>,

Source§

type Output = TensrFn2<'a, Backend, <Backend as Backend>::SubKernel, ArrayBase<Backend, StorageTypeLhs, NDimsLhs>, TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>>

The resulting type after applying the - operator.
Source§

fn sub( self, rhs: TensrFn2<'a, Backend, OpRhs, LhsTypeRhs, RhsTypeRhs>, ) -> Self::Output

Performs the - operation. Read more

Auto Trait Implementations§

§

impl<Backend, StorageType, NDims> Freeze for ArrayBase<Backend, StorageType, NDims>
where StorageType: Freeze, NDims: Freeze,

§

impl<Backend, StorageType, NDims> RefUnwindSafe for ArrayBase<Backend, StorageType, NDims>
where StorageType: RefUnwindSafe, NDims: RefUnwindSafe, Backend: RefUnwindSafe,

§

impl<Backend, StorageType, NDims> Send for ArrayBase<Backend, StorageType, NDims>
where StorageType: Send, NDims: Send, Backend: Send,

§

impl<Backend, StorageType, NDims> Sync for ArrayBase<Backend, StorageType, NDims>
where StorageType: Sync, NDims: Sync, Backend: Sync,

§

impl<Backend, StorageType, NDims> Unpin for ArrayBase<Backend, StorageType, NDims>
where StorageType: Unpin, NDims: Unpin, Backend: Unpin,

§

impl<Backend, StorageType, NDims> UnwindSafe for ArrayBase<Backend, StorageType, NDims>
where StorageType: UnwindSafe, NDims: UnwindSafe, Backend: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.