pub trait TilingLayout:
'static
+ Send
+ Sync
+ Clone
+ Copy {
// Required methods
fn get_tile<ES: Numeric, S: StageConfig>(
stage: &Stage<ES, Self>,
x: u32,
y: u32,
ident: Ident,
config: S,
) -> Tile<ES>;
fn __expand_get_tile<ES: Numeric, S: StageConfig>(
context: &mut Scope,
stage: <Stage<ES, Self> as CubeType>::ExpandType,
x: <u32 as CubeType>::ExpandType,
y: <u32 as CubeType>::ExpandType,
ident: Ident,
config: S,
) -> <Tile<ES> as CubeType>::ExpandType;
}
Required Methods§
fn get_tile<ES: Numeric, S: StageConfig>( stage: &Stage<ES, Self>, x: u32, y: u32, ident: Ident, config: S, ) -> Tile<ES>
fn __expand_get_tile<ES: Numeric, S: StageConfig>( context: &mut Scope, stage: <Stage<ES, Self> as CubeType>::ExpandType, x: <u32 as CubeType>::ExpandType, y: <u32 as CubeType>::ExpandType, ident: Ident, config: S, ) -> <Tile<ES> as CubeType>::ExpandType
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.