pub struct PhysicalDeviceMemoryPropertiesBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> PhysicalDeviceMemoryPropertiesBuilder<'a>
impl<'a> PhysicalDeviceMemoryPropertiesBuilder<'a>
pub fn memory_type_count(self, memory_type_count: u32) -> Self
pub fn memory_types(self, memory_types: [MemoryType; 32]) -> Self
pub fn memory_heap_count(self, memory_heap_count: u32) -> Self
pub fn memory_heaps(self, memory_heaps: [MemoryHeap; 16]) -> Self
Sourcepub fn build(self) -> PhysicalDeviceMemoryProperties
pub fn build(self) -> PhysicalDeviceMemoryProperties
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§
Source§impl<'a> Deref for PhysicalDeviceMemoryPropertiesBuilder<'a>
impl<'a> Deref for PhysicalDeviceMemoryPropertiesBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceMemoryPropertiesBuilder<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceMemoryPropertiesBuilder<'a>
impl<'a> Send for PhysicalDeviceMemoryPropertiesBuilder<'a>
impl<'a> Sync for PhysicalDeviceMemoryPropertiesBuilder<'a>
impl<'a> Unpin for PhysicalDeviceMemoryPropertiesBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceMemoryPropertiesBuilder<'a>
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