pub trait VirtualLayoutOperationsExpand<C: CubeType, S: CubeType>: Sealed {
// Required methods
fn __expand_to_source_pos_method(
&self,
scope: &mut Scope,
pos: <C as CubeType>::ExpandType,
) -> <S as CubeType>::ExpandType;
fn __expand_to_source_pos_checked_method(
&self,
scope: &mut Scope,
pos: <C as CubeType>::ExpandType,
) -> <(S, bool) as CubeType>::ExpandType;
fn __expand_shape_method(
&self,
scope: &mut Scope,
) -> <C as CubeType>::ExpandType;
fn __expand_is_in_bounds_method(
&self,
scope: &mut Scope,
pos: <C as CubeType>::ExpandType,
) -> NativeExpand<bool>;
}Required Methods§
fn __expand_to_source_pos_method( &self, scope: &mut Scope, pos: <C as CubeType>::ExpandType, ) -> <S as CubeType>::ExpandType
fn __expand_to_source_pos_checked_method( &self, scope: &mut Scope, pos: <C as CubeType>::ExpandType, ) -> <(S, bool) as CubeType>::ExpandType
fn __expand_shape_method( &self, scope: &mut Scope, ) -> <C as CubeType>::ExpandType
fn __expand_is_in_bounds_method( &self, scope: &mut Scope, pos: <C as CubeType>::ExpandType, ) -> NativeExpand<bool>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".