Skip to main content

ErasedBacking

Trait ErasedBacking 

Source
pub trait ErasedBacking<E: Numeric, IO>: ErasedTensorOperationsExpand<E> { }
Expand description

A backing that can be wrapped at visibility IO.

This is what makes the IO marker mean something: it is implemented only where the backing actually has the halves the marker promises, so the constructors reject a mismatch instead of deferring it to a panic at the first access.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§