pub(crate) struct IdentityHub {Show 17 fields
adapters: IdentityManager<Adapter>,
devices: IdentityManager<Device>,
queues: IdentityManager<Queue>,
buffers: IdentityManager<Buffer>,
bind_groups: IdentityManager<BindGroup>,
bind_group_layouts: IdentityManager<BindGroupLayout>,
compute_pipelines: IdentityManager<ComputePipeline>,
pipeline_layouts: IdentityManager<PipelineLayout>,
shader_modules: IdentityManager<ShaderModule>,
command_encoders: IdentityManager<CommandEncoder>,
textures: IdentityManager<Texture>,
texture_views: IdentityManager<TextureView>,
samplers: IdentityManager<Sampler>,
render_pipelines: IdentityManager<RenderPipeline>,
render_bundles: IdentityManager<RenderBundle>,
compute_passes: IdentityManager<ComputePass>,
render_passes: IdentityManager<RenderPass>,
}
Fields§
§adapters: IdentityManager<Adapter>
§devices: IdentityManager<Device>
§queues: IdentityManager<Queue>
§buffers: IdentityManager<Buffer>
§bind_groups: IdentityManager<BindGroup>
§bind_group_layouts: IdentityManager<BindGroupLayout>
§compute_pipelines: IdentityManager<ComputePipeline>
§pipeline_layouts: IdentityManager<PipelineLayout>
§shader_modules: IdentityManager<ShaderModule>
§command_encoders: IdentityManager<CommandEncoder>
§textures: IdentityManager<Texture>
§texture_views: IdentityManager<TextureView>
§samplers: IdentityManager<Sampler>
§render_pipelines: IdentityManager<RenderPipeline>
§render_bundles: IdentityManager<RenderBundle>
§compute_passes: IdentityManager<ComputePass>
§render_passes: IdentityManager<RenderPass>
Implementations§
Source§impl IdentityHub
impl IdentityHub
pub(crate) fn create_device_id(&self) -> DeviceId
pub(crate) fn free_device_id(&self, id: DeviceId)
pub(crate) fn create_queue_id(&self) -> QueueId
pub(crate) fn free_queue_id(&self, id: QueueId)
pub(crate) fn create_adapter_id(&self) -> AdapterId
pub(crate) fn free_adapter_id(&self, id: AdapterId)
pub(crate) fn create_buffer_id(&self) -> BufferId
pub(crate) fn free_buffer_id(&self, id: BufferId)
pub(crate) fn create_bind_group_id(&self) -> BindGroupId
pub(crate) fn free_bind_group_id(&self, id: BindGroupId)
pub(crate) fn create_bind_group_layout_id(&self) -> BindGroupLayoutId
pub(crate) fn free_bind_group_layout_id(&self, id: BindGroupLayoutId)
pub(crate) fn create_compute_pipeline_id(&self) -> ComputePipelineId
pub(crate) fn free_compute_pipeline_id(&self, id: ComputePipelineId)
pub(crate) fn create_pipeline_layout_id(&self) -> PipelineLayoutId
pub(crate) fn free_pipeline_layout_id(&self, id: PipelineLayoutId)
pub(crate) fn create_shader_module_id(&self) -> ShaderModuleId
pub(crate) fn free_shader_module_id(&self, id: ShaderModuleId)
pub(crate) fn create_command_encoder_id(&self) -> CommandEncoderId
pub(crate) fn free_command_buffer_id(&self, id: CommandEncoderId)
pub(crate) fn create_sampler_id(&self) -> SamplerId
pub(crate) fn free_sampler_id(&self, id: SamplerId)
pub(crate) fn create_render_pipeline_id(&self) -> RenderPipelineId
pub(crate) fn free_render_pipeline_id(&self, id: RenderPipelineId)
pub(crate) fn create_texture_id(&self) -> TextureId
pub(crate) fn free_texture_id(&self, id: TextureId)
pub(crate) fn create_texture_view_id(&self) -> TextureViewId
pub(crate) fn free_texture_view_id(&self, id: TextureViewId)
pub(crate) fn create_render_bundle_id(&self) -> RenderBundleId
pub(crate) fn free_render_bundle_id(&self, id: RenderBundleId)
pub(crate) fn create_compute_pass_id(&self) -> ComputePassId
pub(crate) fn free_compute_pass_id(&self, id: ComputePassId)
pub(crate) fn create_render_pass_id(&self) -> RenderPassId
pub(crate) fn free_render_pass_id(&self, id: RenderPassId)
Trait Implementations§
Source§impl Debug for IdentityHub
impl Debug for IdentityHub
Auto Trait Implementations§
impl !Freeze for IdentityHub
impl !RefUnwindSafe for IdentityHub
impl Send for IdentityHub
impl Sync for IdentityHub
impl Unpin for IdentityHub
impl UnwindSafe for IdentityHub
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
Source§impl<T> Filterable for T
impl<T> Filterable for T
Source§fn filterable(
self,
filter_name: &'static str,
) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
fn filterable( self, filter_name: &'static str, ) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
Creates a filterable data provider with the given name for debugging. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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 moreSource§impl<T> MaybeBoxed<Box<T>> for T
impl<T> MaybeBoxed<Box<T>> for T
Source§fn maybe_boxed(self) -> Box<T>
fn maybe_boxed(self) -> Box<T>
Convert
Source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
Source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.