Struct ash::vk::FuchsiaExternalSemaphoreFn
source · [−]pub struct FuchsiaExternalSemaphoreFn {
pub import_semaphore_zircon_handle_fuchsia: PFN_vkImportSemaphoreZirconHandleFUCHSIA,
pub get_semaphore_zircon_handle_fuchsia: PFN_vkGetSemaphoreZirconHandleFUCHSIA,
}
Fields
import_semaphore_zircon_handle_fuchsia: PFN_vkImportSemaphoreZirconHandleFUCHSIA
get_semaphore_zircon_handle_fuchsia: PFN_vkGetSemaphoreZirconHandleFUCHSIA
Implementations
sourceimpl FuchsiaExternalSemaphoreFn
impl FuchsiaExternalSemaphoreFn
pub fn load<F>(_f: F) -> Self where
F: FnMut(&CStr) -> *const c_void,
sourcepub unsafe fn import_semaphore_zircon_handle_fuchsia(
&self,
device: Device,
p_import_semaphore_zircon_handle_info: *const ImportSemaphoreZirconHandleInfoFUCHSIA
) -> Result
pub unsafe fn import_semaphore_zircon_handle_fuchsia(
&self,
device: Device,
p_import_semaphore_zircon_handle_info: *const ImportSemaphoreZirconHandleInfoFUCHSIA
) -> Result
sourcepub unsafe fn get_semaphore_zircon_handle_fuchsia(
&self,
device: Device,
p_get_zircon_handle_info: *const SemaphoreGetZirconHandleInfoFUCHSIA,
p_zircon_handle: *mut zx_handle_t
) -> Result
pub unsafe fn get_semaphore_zircon_handle_fuchsia(
&self,
device: Device,
p_get_zircon_handle_info: *const SemaphoreGetZirconHandleInfoFUCHSIA,
p_zircon_handle: *mut zx_handle_t
) -> Result
Trait Implementations
sourceimpl Clone for FuchsiaExternalSemaphoreFn
impl Clone for FuchsiaExternalSemaphoreFn
sourcefn clone(&self) -> FuchsiaExternalSemaphoreFn
fn clone(&self) -> FuchsiaExternalSemaphoreFn
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Send for FuchsiaExternalSemaphoreFn
impl Sync for FuchsiaExternalSemaphoreFn
Auto Trait Implementations
impl RefUnwindSafe for FuchsiaExternalSemaphoreFn
impl Unpin for FuchsiaExternalSemaphoreFn
impl UnwindSafe for FuchsiaExternalSemaphoreFn
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more