pub struct Hub<A: HalApi, F: GlobalIdentityHandlerFactory> {
Show 16 fields pub adapters: Registry<Adapter<A>, AdapterId, F>, pub devices: Registry<Device<A>, DeviceId, F>, pub pipeline_layouts: Registry<PipelineLayout<A>, PipelineLayoutId, F>, pub shader_modules: Registry<ShaderModule<A>, ShaderModuleId, F>, pub bind_group_layouts: Registry<BindGroupLayout<A>, BindGroupLayoutId, F>, pub bind_groups: Registry<BindGroup<A>, BindGroupId, F>, pub command_buffers: Registry<CommandBuffer<A>, CommandBufferId, F>, pub render_bundles: Registry<RenderBundle<A>, RenderBundleId, F>, pub render_pipelines: Registry<RenderPipeline<A>, RenderPipelineId, F>, pub compute_pipelines: Registry<ComputePipeline<A>, ComputePipelineId, F>, pub query_sets: Registry<QuerySet<A>, QuerySetId, F>, pub buffers: Registry<Buffer<A>, BufferId, F>, pub staging_buffers: Registry<StagingBuffer<A>, StagingBufferId, F>, pub textures: Registry<Texture<A>, TextureId, F>, pub texture_views: Registry<TextureView<A>, TextureViewId, F>, pub samplers: Registry<Sampler<A>, SamplerId, F>,
}

Fields

adapters: Registry<Adapter<A>, AdapterId, F>devices: Registry<Device<A>, DeviceId, F>pipeline_layouts: Registry<PipelineLayout<A>, PipelineLayoutId, F>shader_modules: Registry<ShaderModule<A>, ShaderModuleId, F>bind_group_layouts: Registry<BindGroupLayout<A>, BindGroupLayoutId, F>bind_groups: Registry<BindGroup<A>, BindGroupId, F>command_buffers: Registry<CommandBuffer<A>, CommandBufferId, F>render_bundles: Registry<RenderBundle<A>, RenderBundleId, F>render_pipelines: Registry<RenderPipeline<A>, RenderPipelineId, F>compute_pipelines: Registry<ComputePipeline<A>, ComputePipelineId, F>query_sets: Registry<QuerySet<A>, QuerySetId, F>buffers: Registry<Buffer<A>, BufferId, F>staging_buffers: Registry<StagingBuffer<A>, StagingBufferId, F>textures: Registry<Texture<A>, TextureId, F>texture_views: Registry<TextureView<A>, TextureViewId, F>samplers: Registry<Sampler<A>, SamplerId, F>

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.