Struct wgpu_core::error::ErrorFormatter
source · [−]pub struct ErrorFormatter<'a> { /* private fields */ }
Implementations
sourceimpl<'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: &str)
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)
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more