pub struct SwitchExpand<I: Int> { /* private fields */ }
Implementations§
Source§impl<I: Int> SwitchExpand<I>
impl<I: Int> SwitchExpand<I>
pub fn case( self, context: &mut CubeContext, value: impl Int, block: impl FnOnce(&mut CubeContext), ) -> Self
pub fn finish(self, context: &mut CubeContext)
Auto Trait Implementations§
impl<I> Freeze for SwitchExpand<I>
impl<I> !RefUnwindSafe for SwitchExpand<I>
impl<I> !Send for SwitchExpand<I>
impl<I> !Sync for SwitchExpand<I>
impl<I> Unpin for SwitchExpand<I>where
I: Unpin,
impl<I> !UnwindSafe for SwitchExpand<I>
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