Struct script::dom::identityhub::IdentityHub
source · pub 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 fn create_device_id(&self) -> DeviceId
pub fn free_device_id(&self, id: DeviceId)
pub fn create_queue_id(&self) -> QueueId
pub fn free_queue_id(&self, id: QueueId)
pub fn create_adapter_id(&self) -> AdapterId
pub fn free_adapter_id(&self, id: AdapterId)
pub fn create_buffer_id(&self) -> BufferId
pub fn free_buffer_id(&self, id: BufferId)
pub fn create_bind_group_id(&self) -> BindGroupId
pub fn free_bind_group_id(&self, id: BindGroupId)
pub fn create_bind_group_layout_id(&self) -> BindGroupLayoutId
pub fn free_bind_group_layout_id(&self, id: BindGroupLayoutId)
pub fn create_compute_pipeline_id(&self) -> ComputePipelineId
pub fn free_compute_pipeline_id(&self, id: ComputePipelineId)
pub fn create_pipeline_layout_id(&self) -> PipelineLayoutId
pub fn free_pipeline_layout_id(&self, id: PipelineLayoutId)
pub fn create_shader_module_id(&self) -> ShaderModuleId
pub fn free_shader_module_id(&self, id: ShaderModuleId)
pub fn create_command_encoder_id(&self) -> CommandEncoderId
pub fn free_command_buffer_id(&self, id: CommandEncoderId)
pub fn create_sampler_id(&self) -> SamplerId
pub fn free_sampler_id(&self, id: SamplerId)
pub fn create_render_pipeline_id(&self) -> RenderPipelineId
pub fn free_render_pipeline_id(&self, id: RenderPipelineId)
pub fn create_texture_id(&self) -> TextureId
pub fn free_texture_id(&self, id: TextureId)
pub fn create_texture_view_id(&self) -> TextureViewId
pub fn free_texture_view_id(&self, id: TextureViewId)
pub fn create_render_bundle_id(&self) -> RenderBundleId
pub fn free_render_bundle_id(&self, id: RenderBundleId)
pub fn create_compute_pass_id(&self) -> ComputePassId
pub fn free_compute_pass_id(&self, id: ComputePassId)
pub fn create_render_pass_id(&self) -> RenderPassId
pub 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()
.