Struct wgpu::core::error::ErrorFormatter
pub struct ErrorFormatter<'a> { /* private fields */ }
Available on
wgpu_core
only.Implementations§
§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>)
pub fn bind_group_layout_label(&mut self, id: &Id<BindGroupLayout>)
pub fn render_pipeline_label(&mut self, id: &Id<RenderPipeline>)
pub fn compute_pipeline_label(&mut self, id: &Id<ComputePipeline>)
pub fn buffer_label_with_key(&mut self, id: &Id<Buffer>, key: &str)
pub fn buffer_label(&mut self, id: &Id<Buffer>)
pub fn texture_label_with_key(&mut self, id: &Id<Texture>, key: &str)
pub fn texture_label(&mut self, id: &Id<Texture>)
pub fn texture_view_label_with_key(&mut self, id: &Id<TextureView>, key: &str)
pub fn texture_view_label(&mut self, id: &Id<TextureView>)
pub fn sampler_label(&mut self, id: &Id<Sampler>)
pub fn command_buffer_label(&mut self, id: &Id<CommandBuffer>)
pub fn query_set_label(&mut self, id: &Id<QuerySet>)
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