pub struct CompositionImportedGpuSemaphore { /* private fields */ }Expand description
A GPU semaphore imported into the compositor.
Implementations§
Source§impl CompositionImportedGpuSemaphore
impl CompositionImportedGpuSemaphore
pub fn base( &self, ) -> &CompositionGpuImportedObjectBase<ServerImportedGpuSemaphore>
Trait Implementations§
Source§impl ICompositionGpuImportedObject for CompositionImportedGpuSemaphore
impl ICompositionGpuImportedObject for CompositionImportedGpuSemaphore
Source§fn import_completed(&self) -> ServerJobTask<()>
fn import_completed(&self) -> ServerJobTask<()>
Tracks the import status of the object. Once the task is completed,
the user code is allowed to free the resource owner in case when a non-owning
sharing handle was used.
Source§fn is_lost(&self) -> bool
fn is_lost(&self) -> bool
Indicates if the device context this instance is associated with is no longer available
Source§fn dispose_async(&self) -> ServerJobTask<()>
fn dispose_async(&self) -> ServerJobTask<()>
Releases the object on the render thread (
DisposeAsync).impl ICompositionImportedGpuSemaphore for CompositionImportedGpuSemaphore
Auto Trait Implementations§
impl !RefUnwindSafe for CompositionImportedGpuSemaphore
impl !Send for CompositionImportedGpuSemaphore
impl !Sync for CompositionImportedGpuSemaphore
impl !UnwindSafe for CompositionImportedGpuSemaphore
impl Freeze for CompositionImportedGpuSemaphore
impl Unpin for CompositionImportedGpuSemaphore
impl UnsafeUnpin for CompositionImportedGpuSemaphore
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more