Struct wgpu_core::identity::IdentityManagerFactory
source · pub struct IdentityManagerFactory;Expand description
A global identity handler factory based on IdentityManager.
Each of this type’s IdentityHandlerFactory<I>::spawn methods
returns a Mutex<IdentityManager<I>>, which allocates fresh I
ids itself, and takes () as its proto-id type.
Trait Implementations§
source§impl Debug for IdentityManagerFactory
impl Debug for IdentityManagerFactory
source§impl<I: TypedId + Debug> IdentityHandlerFactory<I> for IdentityManagerFactory
impl<I: TypedId + Debug> IdentityHandlerFactory<I> for IdentityManagerFactory
§type Filter = Mutex<RawMutex, IdentityManager>
type Filter = Mutex<RawMutex, IdentityManager>
The type of filter this factory constructs. Read more
source§fn spawn(&self) -> Self::Filter
fn spawn(&self) -> Self::Filter
Create an
IdentityHandler<I> implementation that can
transform proto-ids into ids of type I.impl GlobalIdentityHandlerFactory for IdentityManagerFactory
Auto Trait Implementations§
impl RefUnwindSafe for IdentityManagerFactory
impl Send for IdentityManagerFactory
impl Sync for IdentityManagerFactory
impl Unpin for IdentityManagerFactory
impl UnwindSafe for IdentityManagerFactory
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more