pub struct CompiledKernel {
pub name: String,
pub wgsl_source: String,
pub entry_point: String,
pub workgroup_size: [u32; 3],
pub bind_group_layout: Vec<BindingType>,
}
Expand description
Compiled kernel representation
Fields§
§name: String
§wgsl_source: String
§entry_point: String
§workgroup_size: [u32; 3]
§bind_group_layout: Vec<BindingType>
Trait Implementations§
Source§impl Clone for CompiledKernel
impl Clone for CompiledKernel
Source§fn clone(&self) -> CompiledKernel
fn clone(&self) -> CompiledKernel
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 CompiledKernel
impl RefUnwindSafe for CompiledKernel
impl Send for CompiledKernel
impl Sync for CompiledKernel
impl Unpin for CompiledKernel
impl UnwindSafe for CompiledKernel
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