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

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

Loading content...

Required methods

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

fn free(&self, id: I)[src]

Loading content...

Implementations on Foreign Types

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

type Input = PhantomData<I>

fn process(&self, _id: Self::Input, backend: Backend) -> I[src]

fn free(&self, id: I)[src]

Loading content...

Implementors

Loading content...