pub struct RuntimeCellExpand<T>where
T: CubeType,{ /* private fields */ }Implementations§
Source§impl<T> RuntimeCellExpand<T>where
T: CubePrimitive,
impl<T> RuntimeCellExpand<T>where
T: CubePrimitive,
pub fn __expand_store_method( self, scope: &mut Scope, value: <T as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_read_method( self, scope: &mut Scope, ) -> <T as CubeType>::ExpandType
pub fn __expand_consume_method( self, scope: &mut Scope, ) -> <T as CubeType>::ExpandType
pub fn __expand_new( scope: &mut Scope, init: <T as CubeType>::ExpandType, ) -> RuntimeCellExpand<T>
pub fn __expand_store( scope: &mut Scope, this: RuntimeCellExpand<T>, value: <T as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_read( scope: &mut Scope, this: RuntimeCellExpand<T>, ) -> <T as CubeType>::ExpandType
pub fn __expand_consume( scope: &mut Scope, this: RuntimeCellExpand<T>, ) -> <T as CubeType>::ExpandType
Source§impl<T> RuntimeCellExpand<T>where
T: CubeIndexMut,
impl<T> RuntimeCellExpand<T>where
T: CubeIndexMut,
pub fn __expand_store_at_method( self, scope: &mut Scope, index: <<T as CubeIndex>::Idx as CubeType>::ExpandType, value: <<T as CubeIndex>::Output as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
pub fn __expand_store_at( scope: &mut Scope, this: RuntimeCellExpand<T>, index: <<T as CubeIndex>::Idx as CubeType>::ExpandType, value: <<T as CubeIndex>::Output as CubeType>::ExpandType, ) -> <() as CubeType>::ExpandType
Source§impl<T> RuntimeCellExpand<T>where
T: CubeIndex,
impl<T> RuntimeCellExpand<T>where
T: CubeIndex,
pub fn __expand_read_at_method( self, scope: &mut Scope, index: <<T as CubeIndex>::Idx as CubeType>::ExpandType, ) -> <<T as CubeIndex>::Output as CubeType>::ExpandType
pub fn __expand_read_at( scope: &mut Scope, this: RuntimeCellExpand<T>, index: <<T as CubeIndex>::Idx as CubeType>::ExpandType, ) -> <<T as CubeIndex>::Output as CubeType>::ExpandType
Trait Implementations§
Source§impl<T> Clone for RuntimeCellExpand<T>where
T: CubeType,
impl<T> Clone for RuntimeCellExpand<T>where
T: CubeType,
Source§fn clone(&self) -> RuntimeCellExpand<T>
fn clone(&self) -> RuntimeCellExpand<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T> CubeDebug for RuntimeCellExpand<T>where
T: CubeType,
impl<T> CubeDebug for RuntimeCellExpand<T>where
T: CubeType,
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<T> IntoMut for RuntimeCellExpand<T>where
T: CubeType,
impl<T> IntoMut for RuntimeCellExpand<T>where
T: CubeType,
fn into_mut(self, _scope: &mut Scope) -> RuntimeCellExpand<T>
Auto Trait Implementations§
impl<T> Freeze for RuntimeCellExpand<T>
impl<T> RefUnwindSafe for RuntimeCellExpand<T>
impl<T> Send for RuntimeCellExpand<T>
impl<T> Sync for RuntimeCellExpand<T>
impl<T> Unpin for RuntimeCellExpand<T>
impl<T> UnwindSafe for RuntimeCellExpand<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