pub trait SliceOperatorExpand<E: CubePrimitive>:
Clone
+ IntoMut
+ CubeDebug {
// Required methods
fn __expand_slice_method(
&self,
scope: &mut Scope,
start: ExpandElementTyped<u32>,
end: ExpandElementTyped<u32>,
) -> SliceExpand<E, ReadOnly>;
fn __expand_slice_mut_method(
&self,
scope: &mut Scope,
start: ExpandElementTyped<u32>,
end: ExpandElementTyped<u32>,
) -> SliceExpand<E, ReadWrite>;
fn __expand_to_slice_method(
&self,
scope: &mut Scope,
) -> SliceExpand<E, ReadOnly>;
fn __expand_to_slice_mut_method(
&self,
_scope: &mut Scope,
) -> SliceExpand<E, ReadWrite>;
}
Required Methods§
fn __expand_slice_method( &self, scope: &mut Scope, start: ExpandElementTyped<u32>, end: ExpandElementTyped<u32>, ) -> SliceExpand<E, ReadOnly>
fn __expand_slice_mut_method( &self, scope: &mut Scope, start: ExpandElementTyped<u32>, end: ExpandElementTyped<u32>, ) -> SliceExpand<E, ReadWrite>
fn __expand_to_slice_method( &self, scope: &mut Scope, ) -> SliceExpand<E, ReadOnly>
fn __expand_to_slice_mut_method( &self, _scope: &mut Scope, ) -> SliceExpand<E, ReadWrite>
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.