pub struct PhysicalDeviceMemoryBudgetPropertiesEXTBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> PhysicalDeviceMemoryBudgetPropertiesEXTBuilder<'a>
impl<'a> PhysicalDeviceMemoryBudgetPropertiesEXTBuilder<'a>
pub fn heap_budget(self, heap_budget: [DeviceSize; 16]) -> Self
pub fn heap_usage(self, heap_usage: [DeviceSize; 16]) -> Self
sourcepub fn build(self) -> PhysicalDeviceMemoryBudgetPropertiesEXT
pub fn build(self) -> PhysicalDeviceMemoryBudgetPropertiesEXT
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 PhysicalDeviceMemoryBudgetPropertiesEXTBuilder<'a>
impl<'a> Deref for PhysicalDeviceMemoryBudgetPropertiesEXTBuilder<'a>
source§impl<'a> DerefMut for PhysicalDeviceMemoryBudgetPropertiesEXTBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceMemoryBudgetPropertiesEXTBuilder<'a>
impl ExtendsPhysicalDeviceMemoryProperties2 for PhysicalDeviceMemoryBudgetPropertiesEXTBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceMemoryBudgetPropertiesEXTBuilder<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceMemoryBudgetPropertiesEXTBuilder<'a>
impl<'a> !Send for PhysicalDeviceMemoryBudgetPropertiesEXTBuilder<'a>
impl<'a> !Sync for PhysicalDeviceMemoryBudgetPropertiesEXTBuilder<'a>
impl<'a> Unpin for PhysicalDeviceMemoryBudgetPropertiesEXTBuilder<'a>
impl<'a> UnwindSafe for PhysicalDeviceMemoryBudgetPropertiesEXTBuilder<'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