pub struct KernelDefinition {
pub buffers: Vec<Binding>,
pub tensor_maps: Vec<Id>,
pub scalars: Vec<ScalarBinding>,
pub cube_dim: CubeDim,
pub body: Scope,
pub options: KernelOptions,
}
Fields§
§buffers: Vec<Binding>
§tensor_maps: Vec<Id>
§scalars: Vec<ScalarBinding>
§cube_dim: CubeDim
§body: Scope
§options: KernelOptions
Trait Implementations§
Source§impl Clone for KernelDefinition
impl Clone for KernelDefinition
Source§fn clone(&self) -> KernelDefinition
fn clone(&self) -> KernelDefinition
Returns a copy 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 KernelDefinition
impl !RefUnwindSafe for KernelDefinition
impl !Send for KernelDefinition
impl !Sync for KernelDefinition
impl Unpin for KernelDefinition
impl !UnwindSafe for KernelDefinition
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