pub struct ComptimeCellExpand<T: CubeType> { /* private fields */ }
Expand description
Expand type of ComptimeCell.
Implementations§
Source§impl<T: CubeType + Clone> ComptimeCellExpand<T>
impl<T: CubeType + Clone> ComptimeCellExpand<T>
pub fn __expand_store_method(&self, _context: &mut Scope, value: T::ExpandType)
pub fn __expand_read_method(&self, _scope: &mut Scope) -> T::ExpandType
Trait Implementations§
Source§impl<T: CubeType> Clone for ComptimeCellExpand<T>
impl<T: CubeType> Clone for ComptimeCellExpand<T>
Source§impl<T: CubeType> CubeDebug for ComptimeCellExpand<T>
impl<T: CubeType> CubeDebug for ComptimeCellExpand<T>
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
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> !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