Struct ash::vk::MemoryFdPropertiesKHRBuilder
source · [−]#[repr(transparent)]pub struct MemoryFdPropertiesKHRBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> MemoryFdPropertiesKHRBuilder<'a>
impl<'a> MemoryFdPropertiesKHRBuilder<'a>
pub fn memory_type_bits(self, memory_type_bits: u32) -> Self
sourcepub fn build(self) -> MemoryFdPropertiesKHR
pub fn build(self) -> MemoryFdPropertiesKHR
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 MemoryFdPropertiesKHRBuilder<'a>
impl<'a> Deref for MemoryFdPropertiesKHRBuilder<'a>
type Target = MemoryFdPropertiesKHR
type Target = MemoryFdPropertiesKHR
The resulting type after dereferencing.
Auto Trait Implementations
impl<'a> RefUnwindSafe for MemoryFdPropertiesKHRBuilder<'a>
impl<'a> !Send for MemoryFdPropertiesKHRBuilder<'a>
impl<'a> !Sync for MemoryFdPropertiesKHRBuilder<'a>
impl<'a> Unpin for MemoryFdPropertiesKHRBuilder<'a>
impl<'a> UnwindSafe for MemoryFdPropertiesKHRBuilder<'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