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
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§
source§impl Debug for Identities
impl Debug for Identities
source§impl Default for Identities
impl Default for Identities
source§fn default() -> Identities
fn default() -> Identities
Returns the “default value” for a type. Read more
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> 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> 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>where
F: FnOnce(&Self) -> bool,
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 moresource§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
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for Pwhere R: Read + ReadEndian<P>, P: Default,
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()
.