Skip to main content

AsTensorViewExpand

Trait AsTensorViewExpand 

Source
pub trait AsTensorViewExpand<E: CubePrimitive> {
    // Required methods
    fn __expand_view_1d_method<C: Coordinates + 'static>(
        self,
        scope: &mut Scope,
        layout: VirtualLayoutExpand<C, Coords1d>,
    ) -> ViewExpand<E, C, ReadOnly>;
    fn __expand_view_2d_method<C: Coordinates + 'static>(
        self,
        scope: &mut Scope,
        layout: VirtualLayoutExpand<C, Coords2d>,
    ) -> ViewExpand<E, C, ReadOnly>;
    fn __expand_view_3d_method<C: Coordinates + 'static>(
        self,
        scope: &mut Scope,
        layout: VirtualLayoutExpand<C, Coords3d>,
    ) -> ViewExpand<E, C, ReadOnly>;
    fn __expand_view_4d_method<C: Coordinates + 'static>(
        self,
        scope: &mut Scope,
        layout: VirtualLayoutExpand<C, Coords4d>,
    ) -> ViewExpand<E, C, ReadOnly>;
    fn __expand_view_5d_method<C: Coordinates + 'static>(
        self,
        scope: &mut Scope,
        layout: VirtualLayoutExpand<C, Coords5d>,
    ) -> ViewExpand<E, C, ReadOnly>;
    fn __expand_view_1i_method<C: Coordinates + 'static>(
        self,
        scope: &mut Scope,
        layout: VirtualLayoutExpand<C, Coords1i>,
    ) -> ViewExpand<E, C, ReadOnly>;
    fn __expand_view_2i_method<C: Coordinates + 'static>(
        self,
        scope: &mut Scope,
        layout: VirtualLayoutExpand<C, Coords2i>,
    ) -> ViewExpand<E, C, ReadOnly>;
    fn __expand_view_3i_method<C: Coordinates + 'static>(
        self,
        scope: &mut Scope,
        layout: VirtualLayoutExpand<C, Coords3i>,
    ) -> ViewExpand<E, C, ReadOnly>;
    fn __expand_view_4i_method<C: Coordinates + 'static>(
        self,
        scope: &mut Scope,
        layout: VirtualLayoutExpand<C, Coords4i>,
    ) -> ViewExpand<E, C, ReadOnly>;
    fn __expand_view_5i_method<C: Coordinates + 'static>(
        self,
        scope: &mut Scope,
        layout: VirtualLayoutExpand<C, Coords5i>,
    ) -> ViewExpand<E, C, ReadOnly>;
}

Required Methods§

Source

fn __expand_view_1d_method<C: Coordinates + 'static>( self, scope: &mut Scope, layout: VirtualLayoutExpand<C, Coords1d>, ) -> ViewExpand<E, C, ReadOnly>

Source

fn __expand_view_2d_method<C: Coordinates + 'static>( self, scope: &mut Scope, layout: VirtualLayoutExpand<C, Coords2d>, ) -> ViewExpand<E, C, ReadOnly>

Source

fn __expand_view_3d_method<C: Coordinates + 'static>( self, scope: &mut Scope, layout: VirtualLayoutExpand<C, Coords3d>, ) -> ViewExpand<E, C, ReadOnly>

Source

fn __expand_view_4d_method<C: Coordinates + 'static>( self, scope: &mut Scope, layout: VirtualLayoutExpand<C, Coords4d>, ) -> ViewExpand<E, C, ReadOnly>

Source

fn __expand_view_5d_method<C: Coordinates + 'static>( self, scope: &mut Scope, layout: VirtualLayoutExpand<C, Coords5d>, ) -> ViewExpand<E, C, ReadOnly>

Source

fn __expand_view_1i_method<C: Coordinates + 'static>( self, scope: &mut Scope, layout: VirtualLayoutExpand<C, Coords1i>, ) -> ViewExpand<E, C, ReadOnly>

Source

fn __expand_view_2i_method<C: Coordinates + 'static>( self, scope: &mut Scope, layout: VirtualLayoutExpand<C, Coords2i>, ) -> ViewExpand<E, C, ReadOnly>

Source

fn __expand_view_3i_method<C: Coordinates + 'static>( self, scope: &mut Scope, layout: VirtualLayoutExpand<C, Coords3i>, ) -> ViewExpand<E, C, ReadOnly>

Source

fn __expand_view_4i_method<C: Coordinates + 'static>( self, scope: &mut Scope, layout: VirtualLayoutExpand<C, Coords4i>, ) -> ViewExpand<E, C, ReadOnly>

Source

fn __expand_view_5i_method<C: Coordinates + 'static>( self, scope: &mut Scope, layout: VirtualLayoutExpand<C, Coords5i>, ) -> ViewExpand<E, C, ReadOnly>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<E: CubePrimitive> AsTensorViewExpand<E> for NativeExpand<TensorMap<E, Tiled>>

Source§

fn __expand_view_1d_method<C: Coordinates + 'static>( self, scope: &mut Scope, layout: VirtualLayoutExpand<C, Coords1d>, ) -> ViewExpand<E, C, ReadOnly>

Source§

fn __expand_view_2d_method<C: Coordinates + 'static>( self, scope: &mut Scope, layout: VirtualLayoutExpand<C, Coords2d>, ) -> ViewExpand<E, C, ReadOnly>

Source§

fn __expand_view_3d_method<C: Coordinates + 'static>( self, scope: &mut Scope, layout: VirtualLayoutExpand<C, Coords3d>, ) -> ViewExpand<E, C, ReadOnly>

Source§

fn __expand_view_4d_method<C: Coordinates + 'static>( self, scope: &mut Scope, layout: VirtualLayoutExpand<C, Coords4d>, ) -> ViewExpand<E, C, ReadOnly>

Source§

fn __expand_view_5d_method<C: Coordinates + 'static>( self, scope: &mut Scope, layout: VirtualLayoutExpand<C, Coords5d>, ) -> ViewExpand<E, C, ReadOnly>

Source§

fn __expand_view_1i_method<C: Coordinates + 'static>( self, scope: &mut Scope, layout: VirtualLayoutExpand<C, Coords1i>, ) -> ViewExpand<E, C, ReadOnly>

Source§

fn __expand_view_2i_method<C: Coordinates + 'static>( self, scope: &mut Scope, layout: VirtualLayoutExpand<C, Coords2i>, ) -> ViewExpand<E, C, ReadOnly>

Source§

fn __expand_view_3i_method<C: Coordinates + 'static>( self, scope: &mut Scope, layout: VirtualLayoutExpand<C, Coords3i>, ) -> ViewExpand<E, C, ReadOnly>

Source§

fn __expand_view_4i_method<C: Coordinates + 'static>( self, scope: &mut Scope, layout: VirtualLayoutExpand<C, Coords4i>, ) -> ViewExpand<E, C, ReadOnly>

Source§

fn __expand_view_5i_method<C: Coordinates + 'static>( self, scope: &mut Scope, layout: VirtualLayoutExpand<C, Coords5i>, ) -> ViewExpand<E, C, ReadOnly>

Implementors§