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: &BindGroupId)
pub fn bind_group_layout_label(&mut self, id: &BindGroupLayoutId)
pub fn render_pipeline_label(&mut self, id: &RenderPipelineId)
pub fn compute_pipeline_label(&mut self, id: &ComputePipelineId)
pub fn buffer_label_with_key(&mut self, id: &BufferId, key: &str)
pub fn buffer_label(&mut self, id: &BufferId)
pub fn texture_label_with_key(&mut self, id: &TextureId, key: &str)
pub fn texture_label(&mut self, id: &TextureId)
pub fn texture_view_label_with_key(&mut self, id: &TextureViewId, key: &str)
pub fn texture_view_label(&mut self, id: &TextureViewId)
pub fn sampler_label(&mut self, id: &SamplerId)
pub fn command_buffer_label(&mut self, id: &CommandBufferId)
pub fn query_set_label(&mut self, id: &QuerySetId)
Auto Trait Implementations§
impl<'a> Freeze for ErrorFormatter<'a>
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