pub struct ShaderModule { /* private fields */ }Implementations§
Source§impl ShaderModule
impl ShaderModule
pub fn as_raw(&self) -> *mut WGPUShaderModuleImpl
pub fn get_compilation_info( &self, callback: impl FnMut(CompilationInfoRequestStatus, &CompilationInfo) + Send + 'static, ) -> Future
pub fn set_label(&self, label: String)
Trait Implementations§
Source§impl Clone for ShaderModule
impl Clone for ShaderModule
Source§impl Debug for ShaderModule
impl Debug for ShaderModule
Source§impl Drop for ShaderModule
impl Drop for ShaderModule
impl Send for ShaderModule
impl Sync for ShaderModule
Auto Trait Implementations§
impl Freeze for ShaderModule
impl RefUnwindSafe for ShaderModule
impl Unpin for ShaderModule
impl UnsafeUnpin for ShaderModule
impl UnwindSafe for ShaderModule
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