#[repr(C)]pub struct DeviceMemoryReportCallbackDataEXT {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub flags: DeviceMemoryReportFlagsEXT,
pub type: DeviceMemoryReportEventTypeEXT,
pub memory_object_id: u64,
pub size: u64,
pub object_type: ObjectType,
pub object_handle: u64,
pub heap_index: u32,
}Expand description
VkDeviceMemoryReportCallbackDataEXT
Provided by VK_EXT_device_memory_report.
Returned only*, filled by Vulkan, not constructed by the application.
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_DEVICE_MEMORY_REPORT_CALLBACK_DATA_EXT.
p_next: *mut c_voidOptional, may be null.
flags: DeviceMemoryReportFlagsEXT§type: DeviceMemoryReportEventTypeEXT§memory_object_id: u64§size: u64§object_type: ObjectType§object_handle: u64§heap_index: u32Implementations§
Source§impl DeviceMemoryReportCallbackDataEXT
impl DeviceMemoryReportCallbackDataEXT
Sourcepub fn builder<'a>() -> DeviceMemoryReportCallbackDataEXTBuilder<'a>
pub fn builder<'a>() -> DeviceMemoryReportCallbackDataEXTBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for DeviceMemoryReportCallbackDataEXT
impl Clone for DeviceMemoryReportCallbackDataEXT
Source§fn clone(&self) -> DeviceMemoryReportCallbackDataEXT
fn clone(&self) -> DeviceMemoryReportCallbackDataEXT
Returns a duplicate 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 moreimpl Copy for DeviceMemoryReportCallbackDataEXT
Auto Trait Implementations§
impl Freeze for DeviceMemoryReportCallbackDataEXT
impl RefUnwindSafe for DeviceMemoryReportCallbackDataEXT
impl !Send for DeviceMemoryReportCallbackDataEXT
impl !Sync for DeviceMemoryReportCallbackDataEXT
impl Unpin for DeviceMemoryReportCallbackDataEXT
impl UnsafeUnpin for DeviceMemoryReportCallbackDataEXT
impl UnwindSafe for DeviceMemoryReportCallbackDataEXT
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