StageFamily

Trait StageFamily 

Source
pub trait StageFamily<IO: SliceVisibility = ReadOnly>:
    Send
    + Sync
    + 'static {
    type TileKind: TileKind<IO>;
    type Stage<ES: Numeric, T: TilingLayout>: Stage<ES, IO, TileKind = Self::TileKind>;
}
Expand description

Stage family for any precision

Required Associated Types§

Source

type TileKind: TileKind<IO>

The tile kind (family) contained in the stage

Source

type Stage<ES: Numeric, T: TilingLayout>: Stage<ES, IO, TileKind = Self::TileKind>

The concrete stage type of this family, instantiated with the type and layout

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.

Implementations on Foreign Types§

Source§

impl<IO: SliceVisibility, Inner: StageFamily<IO>> StageFamily<IO> for Option<Inner>

Source§

type TileKind = CubeOption<<Inner as StageFamily<IO>>::TileKind>

Source§

type Stage<ES: Numeric, T: TilingLayout> = CubeOption<<Inner as StageFamily<IO>>::Stage<ES, T>>

Implementors§