pub struct WgslShaderParams {
pub shader: String,
pub bindings: String,
}Expand description
Runs a custom WGSL compute shader over a raster.
Fields§
§shader: StringCustom WGSL compute shader source.
bindings: StringJSON object describing shader binding values.
Trait Implementations§
Source§impl Clone for WgslShaderParams
impl Clone for WgslShaderParams
Source§impl Debug for WgslShaderParams
impl Debug for WgslShaderParams
Source§impl Default for WgslShaderParams
impl Default for WgslShaderParams
Source§impl Delegated for WgslShaderParams
impl Delegated for WgslShaderParams
type Delegate = WgslShaderParamsDelegate
fn into_delegate(self) -> Self::Delegate
Auto Trait Implementations§
impl Freeze for WgslShaderParams
impl RefUnwindSafe for WgslShaderParams
impl Send for WgslShaderParams
impl Sync for WgslShaderParams
impl Unpin for WgslShaderParams
impl UnsafeUnpin for WgslShaderParams
impl UnwindSafe for WgslShaderParams
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