Struct ash::extensions::khr::ExternalSemaphoreFd
source · pub struct ExternalSemaphoreFd { /* private fields */ }
Implementations§
source§impl ExternalSemaphoreFd
impl ExternalSemaphoreFd
pub fn new(instance: &Instance, device: &Device) -> Self
sourcepub unsafe fn import_semaphore_fd(
&self,
import_info: &ImportSemaphoreFdInfoKHR
) -> VkResult<()>
pub unsafe fn import_semaphore_fd( &self, import_info: &ImportSemaphoreFdInfoKHR ) -> VkResult<()>
sourcepub unsafe fn get_semaphore_fd(
&self,
get_info: &SemaphoreGetFdInfoKHR
) -> VkResult<i32>
pub unsafe fn get_semaphore_fd( &self, get_info: &SemaphoreGetFdInfoKHR ) -> VkResult<i32>
pub const fn name() -> &'static CStr
pub fn fp(&self) -> &KhrExternalSemaphoreFdFn
pub fn device(&self) -> Device
Trait Implementations§
source§impl Clone for ExternalSemaphoreFd
impl Clone for ExternalSemaphoreFd
source§fn clone(&self) -> ExternalSemaphoreFd
fn clone(&self) -> ExternalSemaphoreFd
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for ExternalSemaphoreFd
impl Send for ExternalSemaphoreFd
impl Sync for ExternalSemaphoreFd
impl Unpin for ExternalSemaphoreFd
impl UnwindSafe for ExternalSemaphoreFd
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