#[repr(C)]pub struct SiluMulPushConstants {
pub num_elements: u32,
pub _pad0: u32,
pub _pad1: u32,
pub _pad2: u32,
}Expand description
Push constant payload for SwiGLU / SiLU-Mul fused activation compute shader.
Fields§
§num_elements: u32§_pad0: u32§_pad1: u32§_pad2: u32Implementations§
Trait Implementations§
Source§impl Clone for SiluMulPushConstants
impl Clone for SiluMulPushConstants
impl Copy for SiluMulPushConstants
Source§impl Debug for SiluMulPushConstants
impl Debug for SiluMulPushConstants
Source§impl PartialEq for SiluMulPushConstants
impl PartialEq for SiluMulPushConstants
impl StructuralPartialEq for SiluMulPushConstants
Auto Trait Implementations§
impl Forget for SiluMulPushConstants
impl Freeze for SiluMulPushConstants
impl Move for SiluMulPushConstants
impl RefUnwindSafe for SiluMulPushConstants
impl Send for SiluMulPushConstants
impl Sync for SiluMulPushConstants
impl Unpin for SiluMulPushConstants
impl UnsafeUnpin for SiluMulPushConstants
impl UnwindSafe for SiluMulPushConstants
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