pub struct IdentityRecycler {
    sender: IpcSender<WebGPUMsg>,
    self_sender: IpcSender<(Option<ErrorScopeId>, WebGPURequest)>,
}

Fields§

§sender: IpcSender<WebGPUMsg>§self_sender: IpcSender<(Option<ErrorScopeId>, WebGPURequest)>

Trait Implementations§

source§

impl Debug for IdentityRecycler

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl IdentityHandler<Id<Adapter<Api>>> for IdentityRecycler

§

type Input = Id<Adapter<Api>>

The type of proto-id consumed by this filter, to produce a true id.
source§

fn process(&self, id: AdapterId, _backend: Backend) -> Self::Input

Given a proto-id value id, return a true id for backend.
source§

fn free(&self, id: AdapterId)

Free the true id id.
source§

impl IdentityHandler<Id<BindGroup<Api>>> for IdentityRecycler

§

type Input = Id<BindGroup<Api>>

The type of proto-id consumed by this filter, to produce a true id.
source§

fn process(&self, id: BindGroupId, _backend: Backend) -> Self::Input

Given a proto-id value id, return a true id for backend.
source§

fn free(&self, id: BindGroupId)

Free the true id id.
source§

impl IdentityHandler<Id<BindGroupLayout<Api>>> for IdentityRecycler

§

type Input = Id<BindGroupLayout<Api>>

The type of proto-id consumed by this filter, to produce a true id.
source§

fn process(&self, id: BindGroupLayoutId, _backend: Backend) -> Self::Input

Given a proto-id value id, return a true id for backend.
source§

fn free(&self, id: BindGroupLayoutId)

Free the true id id.
source§

impl IdentityHandler<Id<Buffer<Api>>> for IdentityRecycler

§

type Input = Id<Buffer<Api>>

The type of proto-id consumed by this filter, to produce a true id.
source§

fn process(&self, id: BufferId, _backend: Backend) -> Self::Input

Given a proto-id value id, return a true id for backend.
source§

fn free(&self, id: BufferId)

Free the true id id.
source§

impl IdentityHandler<Id<CommandBuffer<Api>>> for IdentityRecycler

§

type Input = Id<CommandBuffer<Api>>

The type of proto-id consumed by this filter, to produce a true id.
source§

fn process(&self, id: CommandBufferId, _backend: Backend) -> Self::Input

Given a proto-id value id, return a true id for backend.
source§

fn free(&self, id: CommandBufferId)

Free the true id id.
source§

impl IdentityHandler<Id<ComputePipeline<Api>>> for IdentityRecycler

§

type Input = Id<ComputePipeline<Api>>

The type of proto-id consumed by this filter, to produce a true id.
source§

fn process(&self, id: ComputePipelineId, _backend: Backend) -> Self::Input

Given a proto-id value id, return a true id for backend.
source§

fn free(&self, id: ComputePipelineId)

Free the true id id.
source§

impl IdentityHandler<Id<Device<Api>>> for IdentityRecycler

§

type Input = Id<Device<Api>>

The type of proto-id consumed by this filter, to produce a true id.
source§

fn process(&self, id: DeviceId, _backend: Backend) -> Self::Input

Given a proto-id value id, return a true id for backend.
source§

fn free(&self, id: DeviceId)

Free the true id id.
source§

impl IdentityHandler<Id<PipelineLayout<Api>>> for IdentityRecycler

§

type Input = Id<PipelineLayout<Api>>

The type of proto-id consumed by this filter, to produce a true id.
source§

fn process(&self, id: PipelineLayoutId, _backend: Backend) -> Self::Input

Given a proto-id value id, return a true id for backend.
source§

fn free(&self, id: PipelineLayoutId)

Free the true id id.
source§

impl IdentityHandler<Id<QuerySet<Api>>> for IdentityRecycler

§

type Input = Id<QuerySet<Api>>

The type of proto-id consumed by this filter, to produce a true id.
source§

fn process(&self, id: QuerySetId, _backend: Backend) -> Self::Input

Given a proto-id value id, return a true id for backend.
source§

fn free(&self, id: QuerySetId)

Free the true id id.
source§

impl IdentityHandler<Id<RenderBundle<Api>>> for IdentityRecycler

§

type Input = Id<RenderBundle<Api>>

The type of proto-id consumed by this filter, to produce a true id.
source§

fn process(&self, id: RenderBundleId, _backend: Backend) -> Self::Input

Given a proto-id value id, return a true id for backend.
source§

fn free(&self, id: RenderBundleId)

Free the true id id.
source§

impl IdentityHandler<Id<RenderPipeline<Api>>> for IdentityRecycler

§

type Input = Id<RenderPipeline<Api>>

The type of proto-id consumed by this filter, to produce a true id.
source§

fn process(&self, id: RenderPipelineId, _backend: Backend) -> Self::Input

Given a proto-id value id, return a true id for backend.
source§

fn free(&self, id: RenderPipelineId)

Free the true id id.
source§

impl IdentityHandler<Id<Sampler<Api>>> for IdentityRecycler

§

type Input = Id<Sampler<Api>>

The type of proto-id consumed by this filter, to produce a true id.
source§

fn process(&self, id: SamplerId, _backend: Backend) -> Self::Input

Given a proto-id value id, return a true id for backend.
source§

fn free(&self, id: SamplerId)

Free the true id id.
source§

impl IdentityHandler<Id<ShaderModule<Api>>> for IdentityRecycler

§

type Input = Id<ShaderModule<Api>>

The type of proto-id consumed by this filter, to produce a true id.
source§

fn process(&self, id: ShaderModuleId, _backend: Backend) -> Self::Input

Given a proto-id value id, return a true id for backend.
source§

fn free(&self, id: ShaderModuleId)

Free the true id id.
source§

impl IdentityHandler<Id<StagingBuffer<Api>>> for IdentityRecycler

§

type Input = Id<StagingBuffer<Api>>

The type of proto-id consumed by this filter, to produce a true id.
source§

fn process(&self, id: StagingBufferId, _backend: Backend) -> Self::Input

Given a proto-id value id, return a true id for backend.
source§

fn free(&self, id: StagingBufferId)

Free the true id id.
source§

impl IdentityHandler<Id<Surface>> for IdentityRecycler

§

type Input = Id<Surface>

The type of proto-id consumed by this filter, to produce a true id.
source§

fn process(&self, id: SurfaceId, _backend: Backend) -> Self::Input

Given a proto-id value id, return a true id for backend.
source§

fn free(&self, id: SurfaceId)

Free the true id id.
source§

impl IdentityHandler<Id<Texture<Api>>> for IdentityRecycler

§

type Input = Id<Texture<Api>>

The type of proto-id consumed by this filter, to produce a true id.
source§

fn process(&self, id: TextureId, _backend: Backend) -> Self::Input

Given a proto-id value id, return a true id for backend.
source§

fn free(&self, id: TextureId)

Free the true id id.
source§

impl IdentityHandler<Id<TextureView<Api>>> for IdentityRecycler

§

type Input = Id<TextureView<Api>>

The type of proto-id consumed by this filter, to produce a true id.
source§

fn process(&self, id: TextureViewId, _backend: Backend) -> Self::Input

Given a proto-id value id, return a true id for backend.
source§

fn free(&self, id: TextureViewId)

Free the true id id.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

impl<T> Pointable for T

source§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

source§

fn vzip(self) -> V

source§

impl<T> WasmNotSend for Twhere T: Send,