pub enum SliceOriginExpand<E: CubePrimitive> {
Tensor(<Tensor<E> as CubeType>::ExpandType),
Array(<Array<E> as CubeType>::ExpandType),
SharedMemory(<SharedMemory<E> as CubeType>::ExpandType),
}
Variants§
Tensor(<Tensor<E> as CubeType>::ExpandType)
Array(<Array<E> as CubeType>::ExpandType)
Trait Implementations§
Source§impl<E: CubePrimitive> Clone for SliceOriginExpand<E>
impl<E: CubePrimitive> Clone for SliceOriginExpand<E>
Source§impl<E: CubePrimitive> CubeDebug for SliceOriginExpand<E>
impl<E: CubePrimitive> CubeDebug for SliceOriginExpand<E>
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
Source§impl<E: CubePrimitive> IntoMut for SliceOriginExpand<E>
impl<E: CubePrimitive> IntoMut for SliceOriginExpand<E>
Auto Trait Implementations§
impl<E> Freeze for SliceOriginExpand<E>
impl<E> RefUnwindSafe for SliceOriginExpand<E>where
E: RefUnwindSafe,
impl<E> !Send for SliceOriginExpand<E>
impl<E> !Sync for SliceOriginExpand<E>
impl<E> Unpin for SliceOriginExpand<E>where
E: Unpin,
impl<E> UnwindSafe for SliceOriginExpand<E>where
E: 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