Struct cubecl_core::frontend::SequenceExpand
source · pub struct SequenceExpand<T: CubeType> { /* private fields */ }
Expand description
Expand type of Sequence.
Implementations§
source§impl<T: CubeType> SequenceExpand<T>
impl<T: CubeType> SequenceExpand<T>
sourcepub fn __expand_push_method(
&mut self,
_context: &mut CubeContext,
value: T::ExpandType,
)
pub fn __expand_push_method( &mut self, _context: &mut CubeContext, value: T::ExpandType, )
Expand method of push.
sourcepub fn __expand_index_method<I: Index>(
&self,
_context: &mut CubeContext,
index: I,
) -> T::ExpandType
pub fn __expand_index_method<I: Index>( &self, _context: &mut CubeContext, index: I, ) -> T::ExpandType
Expand method of index.
Trait Implementations§
source§impl<T: CubeType> Clone for SequenceExpand<T>
impl<T: CubeType> Clone for SequenceExpand<T>
source§impl<T: CubeType> Init for SequenceExpand<T>
impl<T: CubeType> Init for SequenceExpand<T>
source§impl<T: CubeType> IntoIterator for SequenceExpand<T>
impl<T: CubeType> IntoIterator for SequenceExpand<T>
Auto Trait Implementations§
impl<T> Freeze for SequenceExpand<T>
impl<T> !RefUnwindSafe for SequenceExpand<T>
impl<T> !Send for SequenceExpand<T>
impl<T> !Sync for SequenceExpand<T>
impl<T> Unpin for SequenceExpand<T>
impl<T> !UnwindSafe for SequenceExpand<T>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)