[][src]Trait wgpu_core::hub::IdentityHandler

pub trait IdentityHandler<I>: Debug {
    type Input: Clone + Debug;
    fn process(&self, id: Self::Input, backend: Backend) -> I;
fn free(&self, id: I); }

Associated Types

type Input: Clone + Debug

Loading content...

Required methods

fn process(&self, id: Self::Input, backend: Backend) -> I

fn free(&self, id: I)

Loading content...

Implementations on Foreign Types

impl<I: TypedId + Debug> IdentityHandler<I> for Mutex<IdentityManager>[src]

type Input = PhantomData<I>

Loading content...

Implementors

Loading content...