wgpu_core::command

Trait MapPassErr

Source
trait MapPassErr<T> {
    // Required method
    fn map_pass_err(self, scope: PassErrorScope) -> T;
}
Expand description

Helper to attach PassErrorScope to errors.

Required Methods§

Source

fn map_pass_err(self, scope: PassErrorScope) -> T

Implementations on Foreign Types§

Source§

impl<T, E, F> MapPassErr<Result<T, F>> for Result<T, E>
where E: MapPassErr<F>,

Source§

fn map_pass_err(self, scope: PassErrorScope) -> Result<T, F>

Implementors§