[][src]Struct wgpu_native::IdentityManager

pub struct IdentityManager<I: TypedId> { /* fields omitted */ }

A simple structure to manage identities of objects.

Methods

impl<I: TypedId> IdentityManager<I>[src]

pub fn new(backend: Backend) -> Self[src]

impl<I: TypedId> IdentityManager<I>[src]

pub fn alloc(&mut self) -> I[src]

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

Trait Implementations

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

Auto Trait Implementations

impl<I> Send for IdentityManager<I> where
    I: Send

impl<I> Sync for IdentityManager<I> where
    I: Sync

impl<I> Unpin for IdentityManager<I> where
    I: Unpin

impl<I> UnwindSafe for IdentityManager<I> where
    I: UnwindSafe

impl<I> RefUnwindSafe for IdentityManager<I> where
    I: RefUnwindSafe

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]