pub struct WorkgroupSizeSpecializationConstants {
pub x: Option<SpecializationConstant>,
pub y: Option<SpecializationConstant>,
pub z: Option<SpecializationConstant>,
pub builtin_workgroup_size_handle: Option<Handle<ConstantId>>,
}Expand description
Specialization constants for a workgroup size.
Fields§
§x: Option<SpecializationConstant>Workgroup size in x.
y: Option<SpecializationConstant>Workgroup size in y.
z: Option<SpecializationConstant>Workgroup size in z.
builtin_workgroup_size_handle: Option<Handle<ConstantId>>The constant ID of the builtin WorkGroupSize
Trait Implementations§
Source§impl Clone for WorkgroupSizeSpecializationConstants
impl Clone for WorkgroupSizeSpecializationConstants
Source§fn clone(&self) -> WorkgroupSizeSpecializationConstants
fn clone(&self) -> WorkgroupSizeSpecializationConstants
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 moreAuto Trait Implementations§
impl Freeze for WorkgroupSizeSpecializationConstants
impl RefUnwindSafe for WorkgroupSizeSpecializationConstants
impl Send for WorkgroupSizeSpecializationConstants
impl Sync for WorkgroupSizeSpecializationConstants
impl Unpin for WorkgroupSizeSpecializationConstants
impl UnwindSafe for WorkgroupSizeSpecializationConstants
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