Struct script::dom::identityhub::Identities
source · pub struct Identities {
_surface: IdentityManager,
vk_hub: IdentityHub,
dummy_hub: IdentityHub,
}
Fields§
§_surface: IdentityManager
§vk_hub: IdentityHub
§dummy_hub: IdentityHub
Implementations§
source§impl Identities
impl Identities
pub fn new() -> Self
fn select(&mut self, backend: Backend) -> &mut IdentityHub
fn hubs(&mut self) -> Vec<(&mut IdentityHub, Backend)> ⓘ
pub fn create_device_id(&mut self, backend: Backend) -> DeviceId
pub fn kill_device_id(&mut self, id: DeviceId)
pub fn create_adapter_ids(&mut self) -> SmallVec<[AdapterId; 4]>
pub fn kill_adapter_id(&mut self, id: AdapterId)
pub fn create_buffer_id(&mut self, backend: Backend) -> BufferId
pub fn kill_buffer_id(&mut self, id: BufferId)
pub fn create_bind_group_id(&mut self, backend: Backend) -> BindGroupId
pub fn kill_bind_group_id(&mut self, id: BindGroupId)
pub fn create_bind_group_layout_id(
&mut self,
backend: Backend
) -> BindGroupLayoutId
pub fn kill_bind_group_layout_id(&mut self, id: BindGroupLayoutId)
pub fn create_compute_pipeline_id(
&mut self,
backend: Backend
) -> ComputePipelineId
pub fn kill_compute_pipeline_id(&mut self, id: ComputePipelineId)
pub fn create_pipeline_layout_id(&mut self, backend: Backend) -> PipelineLayoutId
pub fn kill_pipeline_layout_id(&mut self, id: PipelineLayoutId)
pub fn create_shader_module_id(&mut self, backend: Backend) -> ShaderModuleId
pub fn kill_shader_module_id(&mut self, id: ShaderModuleId)
pub fn create_command_encoder_id(&mut self, backend: Backend) -> CommandEncoderId
pub fn kill_command_buffer_id(&mut self, id: CommandEncoderId)
pub fn create_sampler_id(&mut self, backend: Backend) -> SamplerId
pub fn kill_sampler_id(&mut self, id: SamplerId)
pub fn create_render_pipeline_id(&mut self, backend: Backend) -> RenderPipelineId
pub fn kill_render_pipeline_id(&mut self, id: RenderPipelineId)
pub fn create_texture_id(&mut self, backend: Backend) -> TextureId
pub fn kill_texture_id(&mut self, id: TextureId)
pub fn create_texture_view_id(&mut self, backend: Backend) -> TextureViewId
pub fn kill_texture_view_id(&mut self, id: TextureViewId)
pub fn create_render_bundle_id(&mut self, backend: Backend) -> RenderBundleId
pub fn kill_render_bundle_id(&mut self, id: RenderBundleId)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Identities
impl Send for Identities
impl Sync for Identities
impl Unpin for Identities
impl UnwindSafe for Identities
Blanket Implementations§
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> MaybeBoxed<Box<T, Global>> for T
impl<T> MaybeBoxed<Box<T, Global>> for T
source§fn maybe_boxed(self) -> Box<T, Global>
fn maybe_boxed(self) -> Box<T, Global>
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