#[repr(C)]pub struct PhysicalDeviceMemoryBudgetPropertiesEXT<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub heap_budget: [DeviceSize; 16],
pub heap_usage: [DeviceSize; 16],
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§heap_budget: [DeviceSize; 16]
§heap_usage: [DeviceSize; 16]
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PhysicalDeviceMemoryBudgetPropertiesEXT<'a>
impl<'a> PhysicalDeviceMemoryBudgetPropertiesEXT<'a>
pub fn heap_budget(self, heap_budget: [DeviceSize; 16]) -> Self
pub fn heap_usage(self, heap_usage: [DeviceSize; 16]) -> Self
Trait Implementations§
source§impl<'a> Clone for PhysicalDeviceMemoryBudgetPropertiesEXT<'a>
impl<'a> Clone for PhysicalDeviceMemoryBudgetPropertiesEXT<'a>
source§fn clone(&self) -> PhysicalDeviceMemoryBudgetPropertiesEXT<'a>
fn clone(&self) -> PhysicalDeviceMemoryBudgetPropertiesEXT<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for PhysicalDeviceMemoryBudgetPropertiesEXT<'a>
impl<'a> Debug for PhysicalDeviceMemoryBudgetPropertiesEXT<'a>
source§impl Default for PhysicalDeviceMemoryBudgetPropertiesEXT<'_>
impl Default for PhysicalDeviceMemoryBudgetPropertiesEXT<'_>
source§impl<'a> TaggedStructure for PhysicalDeviceMemoryBudgetPropertiesEXT<'a>
impl<'a> TaggedStructure for PhysicalDeviceMemoryBudgetPropertiesEXT<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_MEMORY_BUDGET_PROPERTIES_EXT
impl<'a> Copy for PhysicalDeviceMemoryBudgetPropertiesEXT<'a>
impl ExtendsPhysicalDeviceMemoryProperties2 for PhysicalDeviceMemoryBudgetPropertiesEXT<'_>
impl Send for PhysicalDeviceMemoryBudgetPropertiesEXT<'_>
impl Sync for PhysicalDeviceMemoryBudgetPropertiesEXT<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceMemoryBudgetPropertiesEXT<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceMemoryBudgetPropertiesEXT<'a>
impl<'a> Unpin for PhysicalDeviceMemoryBudgetPropertiesEXT<'a>
impl<'a> UnwindSafe for PhysicalDeviceMemoryBudgetPropertiesEXT<'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