struct NativeSurfaceTextureMetadata {
acquire_semaphores: Arc<Mutex<SwapchainAcquireSemaphore>>,
present_semaphores: Arc<Mutex<SwapchainPresentSemaphores>>,
}Fields§
§acquire_semaphores: Arc<Mutex<SwapchainAcquireSemaphore>>§present_semaphores: Arc<Mutex<SwapchainPresentSemaphores>>Trait Implementations§
Source§impl Debug for NativeSurfaceTextureMetadata
impl Debug for NativeSurfaceTextureMetadata
Source§impl SurfaceTextureMetadata for NativeSurfaceTextureMetadata
impl SurfaceTextureMetadata for NativeSurfaceTextureMetadata
Source§fn get_semaphore_guard(&self) -> Box<dyn SwapchainSubmissionSemaphoreGuard + '_>
fn get_semaphore_guard(&self) -> Box<dyn SwapchainSubmissionSemaphoreGuard + '_>
Returns a guard which can yield the semaphores needed for submission using this swapchain texture.
Auto Trait Implementations§
impl Freeze for NativeSurfaceTextureMetadata
impl !RefUnwindSafe for NativeSurfaceTextureMetadata
impl Send for NativeSurfaceTextureMetadata
impl Sync for NativeSurfaceTextureMetadata
impl Unpin for NativeSurfaceTextureMetadata
impl !UnwindSafe for NativeSurfaceTextureMetadata
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