#[repr(transparent)]pub struct PhysicalDeviceMemoryBudgetPropertiesEXTBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'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
sourceimpl<'a> Deref for PhysicalDeviceMemoryBudgetPropertiesEXTBuilder<'a>
impl<'a> Deref for PhysicalDeviceMemoryBudgetPropertiesEXTBuilder<'a>
type Target = PhysicalDeviceMemoryBudgetPropertiesEXT
type Target = PhysicalDeviceMemoryBudgetPropertiesEXT
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for PhysicalDeviceMemoryBudgetPropertiesEXTBuilder<'a>
impl<'a> DerefMut for PhysicalDeviceMemoryBudgetPropertiesEXTBuilder<'a>
impl ExtendsPhysicalDeviceMemoryProperties2 for PhysicalDeviceMemoryBudgetPropertiesEXTBuilder<'_>
Auto Trait Implementations
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
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