Trait IdentityHandler
wgpu_core::hub
pub trait IdentityHandler<I>: Debug { type Input: Clone + Debug; fn process(&self, id: Self::Input, backend: Backend) -> I; fn free(&self, id: I); }
type Input: Clone + Debug
fn process(&self, id: Self::Input, backend: Backend) -> I
fn free(&self, id: I)
impl<I: TypedId + Debug> IdentityHandler<I> for Mutex<IdentityManager>
type Input = PhantomData<I>
fn process(&self, _id: Self::Input, backend: Backend) -> I