Struct wgpu::core::error::ErrorFormatter
source · pub struct ErrorFormatter<'a> { /* private fields */ }
Implementations§
source§impl<'a> ErrorFormatter<'a>
impl<'a> ErrorFormatter<'a>
pub fn error(&mut self, err: &dyn Error)
pub fn note(&mut self, note: &dyn Display)
pub fn label(&mut self, label_key: &str, label_value: &String)
pub fn bind_group_label(&mut self, id: &Id<BindGroup<Api>>)
pub fn bind_group_layout_label(&mut self, id: &Id<BindGroupLayout<Api>>)
pub fn render_pipeline_label(&mut self, id: &Id<RenderPipeline<Api>>)
pub fn compute_pipeline_label(&mut self, id: &Id<ComputePipeline<Api>>)
pub fn buffer_label_with_key(&mut self, id: &Id<Buffer<Api>>, key: &str)
pub fn buffer_label(&mut self, id: &Id<Buffer<Api>>)
pub fn texture_label_with_key(&mut self, id: &Id<Texture<Api>>, key: &str)
pub fn texture_label(&mut self, id: &Id<Texture<Api>>)
pub fn texture_view_label_with_key( &mut self, id: &Id<TextureView<Api>>, key: &str )
pub fn texture_view_label(&mut self, id: &Id<TextureView<Api>>)
pub fn sampler_label(&mut self, id: &Id<Sampler<Api>>)
pub fn command_buffer_label(&mut self, id: &Id<CommandBuffer<Api>>)
pub fn query_set_label(&mut self, id: &Id<QuerySet<Api>>)
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ErrorFormatter<'a>
impl<'a> !Send for ErrorFormatter<'a>
impl<'a> !Sync for ErrorFormatter<'a>
impl<'a> Unpin for ErrorFormatter<'a>
impl<'a> !UnwindSafe for ErrorFormatter<'a>
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