pub struct TileExpand<ES: Numeric> {
pub slice: <Slice<Line<ES>> as CubeType>::ExpandType,
pub stride: <u32 as CubeType>::ExpandType,
}
Fields§
§slice: <Slice<Line<ES>> as CubeType>::ExpandType
§stride: <u32 as CubeType>::ExpandType
Implementations§
Source§impl<ES: Numeric> TileExpand<ES>
impl<ES: Numeric> TileExpand<ES>
pub fn __expand_as_unlined_method<T: TileConfig>( self, context: &mut Scope, ident: Ident, config: T, ) -> <(Slice<ES>, u32) as CubeType>::ExpandType
pub fn __expand_new_contiguous<T: TileConfig>( context: &mut Scope, slice: <Slice<Line<ES>> as CubeType>::ExpandType, ident: Ident, config: T, ) -> <Tile<ES> as CubeType>::ExpandType
pub fn __expand_new_strided( context: &mut Scope, slice: <Slice<Line<ES>> as CubeType>::ExpandType, stride: <u32 as CubeType>::ExpandType, ) -> <Tile<ES> as CubeType>::ExpandType
pub fn __expand_as_unlined<T: TileConfig>( context: &mut Scope, this: Self, ident: Ident, config: T, ) -> <(Slice<ES>, u32) as CubeType>::ExpandType
Trait Implementations§
Source§impl<ES: Numeric> Clone for TileExpand<ES>
impl<ES: Numeric> Clone for TileExpand<ES>
Source§impl<ES: Numeric> CubeDebug for TileExpand<ES>
impl<ES: Numeric> CubeDebug for TileExpand<ES>
Source§fn set_debug_name(&self, scope: &mut Scope, name: &'static str)
fn set_debug_name(&self, scope: &mut Scope, name: &'static str)
Set the debug name of this type’s expansion. Should do nothing for types that don’t appear
at runtime
Auto Trait Implementations§
impl<ES> Freeze for TileExpand<ES>
impl<ES> RefUnwindSafe for TileExpand<ES>where
ES: RefUnwindSafe,
impl<ES> !Send for TileExpand<ES>
impl<ES> !Sync for TileExpand<ES>
impl<ES> Unpin for TileExpand<ES>where
ES: Unpin,
impl<ES> UnwindSafe for TileExpand<ES>where
ES: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more