Struct ash::extensions::khr::ExternalMemoryFd
source · pub struct ExternalMemoryFd { /* private fields */ }
Implementations§
source§impl ExternalMemoryFd
impl ExternalMemoryFd
pub fn new(instance: &Instance, device: &Device) -> Self
sourcepub unsafe fn get_memory_fd(
&self,
get_fd_info: &MemoryGetFdInfoKHR
) -> VkResult<i32>
pub unsafe fn get_memory_fd( &self, get_fd_info: &MemoryGetFdInfoKHR ) -> VkResult<i32>
sourcepub unsafe fn get_memory_fd_properties(
&self,
handle_type: ExternalMemoryHandleTypeFlags,
fd: i32
) -> VkResult<MemoryFdPropertiesKHR>
pub unsafe fn get_memory_fd_properties( &self, handle_type: ExternalMemoryHandleTypeFlags, fd: i32 ) -> VkResult<MemoryFdPropertiesKHR>
pub const fn name() -> &'static CStr
pub fn fp(&self) -> &KhrExternalMemoryFdFn
pub fn device(&self) -> Device
Trait Implementations§
source§impl Clone for ExternalMemoryFd
impl Clone for ExternalMemoryFd
source§fn clone(&self) -> ExternalMemoryFd
fn clone(&self) -> ExternalMemoryFd
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 ExternalMemoryFd
impl Send for ExternalMemoryFd
impl Sync for ExternalMemoryFd
impl Unpin for ExternalMemoryFd
impl UnwindSafe for ExternalMemoryFd
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