struct NativeSurfaceTextureMetadata {
acquire_semaphores: Arc<Mutex<SwapchainAcquireSemaphore>>,
present_semaphores: Arc<Mutex<SwapchainPresentSemaphores>>,
}Available on
vulkan only.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
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>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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 more