pub trait CubeIndexExpand {
type Output;
type Idx;
// Required methods
fn expand_index(self, scope: &mut Scope, index: Self::Idx) -> Self::Output;
fn expand_index_unchecked(
self,
scope: &mut Scope,
index: Self::Idx,
) -> Self::Output;
}Required Associated Types§
Required Methods§
fn expand_index(self, scope: &mut Scope, index: Self::Idx) -> Self::Output
fn expand_index_unchecked( self, scope: &mut Scope, index: Self::Idx, ) -> Self::Output
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".