Trait PlatformInstance

Source
pub trait PlatformInstance:
    PartialEq
    + Eq
    + Clone
    + Copy
    + Send
    + Sync
    + Debug {
    // Required method
    fn select(size_hint: usize) -> Self;
}
Expand description

A ha-ndarray platform

Required Methods§

Source

fn select(size_hint: usize) -> Self

Select a specific sub-platform based on data size.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§