Struct pilka_ash::extensions::khr::ExternalFenceFd
source · [−]pub struct ExternalFenceFd { /* private fields */ }
Implementations
sourceimpl ExternalFenceFd
impl ExternalFenceFd
pub fn new(instance: &Instance, device: &Device) -> ExternalFenceFd
sourcepub unsafe fn import_fence_fd(
&self,
import_info: &ImportFenceFdInfoKHR
) -> Result<(), Result>
pub unsafe fn import_fence_fd(
&self,
import_info: &ImportFenceFdInfoKHR
) -> Result<(), Result>
sourcepub unsafe fn get_fence_fd(
&self,
get_info: &FenceGetFdInfoKHR
) -> Result<i32, Result>
pub unsafe fn get_fence_fd(
&self,
get_info: &FenceGetFdInfoKHR
) -> Result<i32, Result>
pub const fn name() -> &'static CStr
pub fn fp(&self) -> &KhrExternalFenceFdFn
pub fn device(&self) -> Device
Trait Implementations
sourceimpl Clone for ExternalFenceFd
impl Clone for ExternalFenceFd
sourcefn clone(&self) -> ExternalFenceFd
fn clone(&self) -> ExternalFenceFd
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for ExternalFenceFd
impl Send for ExternalFenceFd
impl Sync for ExternalFenceFd
impl Unpin for ExternalFenceFd
impl UnwindSafe for ExternalFenceFd
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more