[−][src]Struct emu_core::device::DeviceFnMutArgs
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]
fn from(
original: DeviceFnMutArgs<'a>
) -> HashMap<u32, (HashMap<u32, (Binding<'a>, ArgAndParamInfo)>, Vec<u32>)>[src]
original: DeviceFnMutArgs<'a>
) -> HashMap<u32, (HashMap<u32, (Binding<'a>, ArgAndParamInfo)>, Vec<u32>)>
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]
T: 'static + ?Sized,
impl<T, U> AsDeviceBoxed<T> for U where
T: AsBytes + ?Sized,
U: Borrow<T>, [src]
T: AsBytes + ?Sized,
U: Borrow<T>,
fn as_device_boxed(&Self) -> Result<DeviceBox<T>, NoDeviceError>[src]
fn as_device_boxed_mut(&Self) -> Result<DeviceBox<T>, NoDeviceError>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,