pub struct ServerImportedGpuSemaphore { /* private fields */ }Expand description
The server part of an imported GPU semaphore.
Implementations§
Source§impl ServerImportedGpuSemaphore
impl ServerImportedGpuSemaphore
Sourcepub fn semaphore(&self) -> Rc<dyn IPlatformRenderInterfaceImportedSemaphore>
pub fn semaphore(&self) -> Rc<dyn IPlatformRenderInterfaceImportedSemaphore>
The imported semaphore. Panics once the semaphore has been disposed
(ObjectDisposedException).
pub fn is_usable(&self, server: &ServerCompositor) -> bool
Trait Implementations§
Source§impl IServerGpuImportedObject for ServerImportedGpuSemaphore
impl IServerGpuImportedObject for ServerImportedGpuSemaphore
fn base(&self) -> &ServerGpuImportedObjectBase
Source§fn import(&self, _server: &ServerCompositor) -> Result<(), ServerJobError>
fn import(&self, _server: &ServerCompositor) -> Result<(), ServerJobError>
Imports the object (
Import).Auto Trait Implementations§
impl !Freeze for ServerImportedGpuSemaphore
impl !RefUnwindSafe for ServerImportedGpuSemaphore
impl !Send for ServerImportedGpuSemaphore
impl !Sync for ServerImportedGpuSemaphore
impl !UnwindSafe for ServerImportedGpuSemaphore
impl Unpin for ServerImportedGpuSemaphore
impl UnsafeUnpin for ServerImportedGpuSemaphore
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