[][src]Struct emu_core::device::DeviceFnMut

pub struct DeviceFnMut { /* fields omitted */ }

Represents a compiled kernel that can then be launched across spawned threads with Device::call or spawn

While compiling a DeviceFnMut is expensive, running a DeviceFnMut with varying work space dimensions or arguments incurs no significant extra compilation. There isn't really much you will need to do with this. Just know that this is basically the final compiled kernel. It's the end of the compilation pipeline (it's generated from SPIR-V) and is the input to the execution of your kernel.

Trait Implementations

impl From<(HashMap<u32, HashMap<u32, ArgAndParamInfo, RandomState>, RandomState>, HashMap<u32, BindGroupLayout, RandomState>, ComputePipeline)> for DeviceFnMut[src]

impl From<DeviceFnMut> for (HashMap<u32, HashMap<u32, ArgAndParamInfo>>, HashMap<u32, BindGroupLayout>, ComputePipeline)[src]

Auto Trait Implementations

impl !RefUnwindSafe for DeviceFnMut

impl Send for DeviceFnMut

impl Sync for DeviceFnMut

impl Unpin for DeviceFnMut

impl UnwindSafe for DeviceFnMut

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> AsDeviceBoxed<T> for U where
    T: AsBytes + ?Sized,
    U: Borrow<T>, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.