Struct ash::vk::MemoryGetFdInfoKHRBuilder
source · [−]#[repr(transparent)]pub struct MemoryGetFdInfoKHRBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> MemoryGetFdInfoKHRBuilder<'a>
impl<'a> MemoryGetFdInfoKHRBuilder<'a>
pub fn memory(self, memory: DeviceMemory) -> Self
pub fn handle_type(self, handle_type: ExternalMemoryHandleTypeFlags) -> Self
sourcepub fn build(self) -> MemoryGetFdInfoKHR
pub fn build(self) -> MemoryGetFdInfoKHR
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations
sourceimpl<'a> Deref for MemoryGetFdInfoKHRBuilder<'a>
impl<'a> Deref for MemoryGetFdInfoKHRBuilder<'a>
type Target = MemoryGetFdInfoKHR
type Target = MemoryGetFdInfoKHR
The resulting type after dereferencing.
Auto Trait Implementations
impl<'a> RefUnwindSafe for MemoryGetFdInfoKHRBuilder<'a>
impl<'a> !Send for MemoryGetFdInfoKHRBuilder<'a>
impl<'a> !Sync for MemoryGetFdInfoKHRBuilder<'a>
impl<'a> Unpin for MemoryGetFdInfoKHRBuilder<'a>
impl<'a> UnwindSafe for MemoryGetFdInfoKHRBuilder<'a>
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