pub struct ComptimeCellExpand<T>where
T: CubeType,{ /* private fields */ }Expand description
Expand type of ComptimeCell.
Implementations§
Source§impl<T> ComptimeCellExpand<T>
impl<T> ComptimeCellExpand<T>
pub fn __expand_store_method( &self, _context: &mut Scope, value: <T as CubeType>::ExpandType, )
pub fn __expand_read_method( &self, _scope: &mut Scope, ) -> <T as CubeType>::ExpandType
Trait Implementations§
Source§impl<T> Clone for ComptimeCellExpand<T>where
T: CubeType,
impl<T> Clone for ComptimeCellExpand<T>where
T: CubeType,
Source§fn clone(&self) -> ComptimeCellExpand<T>
fn clone(&self) -> ComptimeCellExpand<T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ComptimeCellExpand<T>where
T: CubeType,
impl<T> CubeDebug for ComptimeCellExpand<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 ComptimeCellExpand<T>where
T: CubeType,
impl<T> IntoMut for ComptimeCellExpand<T>where
T: CubeType,
Source§fn into_mut(self, _scope: &mut Scope) -> ComptimeCellExpand<T>
fn into_mut(self, _scope: &mut Scope) -> ComptimeCellExpand<T>
Convert the variable into a potentially new mutable variable in
scope, copying if needed.Auto Trait Implementations§
impl<T> Freeze for ComptimeCellExpand<T>
impl<T> !RefUnwindSafe for ComptimeCellExpand<T>
impl<T> !Send for ComptimeCellExpand<T>
impl<T> !Sync for ComptimeCellExpand<T>
impl<T> Unpin for ComptimeCellExpand<T>
impl<T> UnsafeUnpin for ComptimeCellExpand<T>
impl<T> !UnwindSafe for ComptimeCellExpand<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