pub enum InputScalarExpand {
F64(<f64 as CubeType>::ExpandType),
F32(<f32 as CubeType>::ExpandType),
F16(<f16 as CubeType>::ExpandType),
BF16(<bf16 as CubeType>::ExpandType),
I64(<i64 as CubeType>::ExpandType),
I32(<i32 as CubeType>::ExpandType),
I16(<i16 as CubeType>::ExpandType),
I8(<i8 as CubeType>::ExpandType),
U64(<u64 as CubeType>::ExpandType),
U32(<u32 as CubeType>::ExpandType),
U16(<u16 as CubeType>::ExpandType),
U8(<u8 as CubeType>::ExpandType),
}Variants§
F64(<f64 as CubeType>::ExpandType)
F32(<f32 as CubeType>::ExpandType)
F16(<f16 as CubeType>::ExpandType)
BF16(<bf16 as CubeType>::ExpandType)
I64(<i64 as CubeType>::ExpandType)
I32(<i32 as CubeType>::ExpandType)
I16(<i16 as CubeType>::ExpandType)
I8(<i8 as CubeType>::ExpandType)
U64(<u64 as CubeType>::ExpandType)
U32(<u32 as CubeType>::ExpandType)
U16(<u16 as CubeType>::ExpandType)
U8(<u8 as CubeType>::ExpandType)
Implementations§
Source§impl InputScalarExpand
impl InputScalarExpand
pub fn __expand_get_method<C: CubePrimitive>( self, scope: &mut Scope, ) -> <C as CubeType>::ExpandType
pub fn __expand_get<C: CubePrimitive>( scope: &mut Scope, this: Self, ) -> <C as CubeType>::ExpandType
Trait Implementations§
Source§impl Clone for InputScalarExpand
impl Clone for InputScalarExpand
Source§impl CubeDebug for InputScalarExpand
impl CubeDebug for InputScalarExpand
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 Freeze for InputScalarExpand
impl RefUnwindSafe for InputScalarExpand
impl !Send for InputScalarExpand
impl !Sync for InputScalarExpand
impl Unpin for InputScalarExpand
impl UnwindSafe for InputScalarExpand
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