[][src]Struct emu_core::device::DeviceFnMutArgs

pub struct DeviceFnMutArgs<'a> { /* fields omitted */ }

Holds the actual arguments to be passed into a DeviceFnMut

See ArgsBuilder for a convenience builder of DeviceFnMutArgs. DeviceFnMutArgs encapsulates a map from set numbers to maps from binding numbers to bindings. Each binding stores both a wgpu::Binding and an ArgAndParamInfo for the argument being bound. Each set stores a Vec<u32> which can be empty as a reasonable default.

Looking into WebGPU docs and Emu source code is probably the best way to figure out how to work with the WebGPU data structures encapsulated by DeviceFnMutArgs.

Trait Implementations

impl<'a> From<DeviceFnMutArgs<'a>> for HashMap<u32, (HashMap<u32, (Binding<'a>, ArgAndParamInfo)>, Vec<u32>)>[src]

impl<'a> From<HashMap<u32, (HashMap<u32, (Binding<'a>, ArgAndParamInfo), RandomState>, Vec<u32>), RandomState>> for DeviceFnMutArgs<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for DeviceFnMutArgs<'a>

impl<'a> Send for DeviceFnMutArgs<'a>

impl<'a> Sync for DeviceFnMutArgs<'a>

impl<'a> Unpin for DeviceFnMutArgs<'a>

impl<'a> !UnwindSafe for DeviceFnMutArgs<'a>

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.