VirtualLayoutOperationsExpand

Trait VirtualLayoutOperationsExpand 

Source
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,
    ) -> ExpandElementTyped<bool>;
}

Required Methods§

Source

fn __expand_to_source_pos_method( &self, scope: &mut Scope, pos: <C as CubeType>::ExpandType, ) -> <S as CubeType>::ExpandType

Source

fn __expand_to_source_pos_checked_method( &self, scope: &mut Scope, pos: <C as CubeType>::ExpandType, ) -> <(S, bool) as CubeType>::ExpandType

Source

fn __expand_shape_method( &self, scope: &mut Scope, ) -> <C as CubeType>::ExpandType

Source

fn __expand_is_in_bounds_method( &self, scope: &mut Scope, pos: <C as CubeType>::ExpandType, ) -> ExpandElementTyped<bool>

Implementors§