Struct ash::vk::DeviceMemoryReportCallbackDataEXT
source · #[repr(C)]pub struct DeviceMemoryReportCallbackDataEXT<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub flags: DeviceMemoryReportFlagsEXT,
pub ty: DeviceMemoryReportEventTypeEXT,
pub memory_object_id: u64,
pub size: DeviceSize,
pub object_type: ObjectType,
pub object_handle: u64,
pub heap_index: u32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§flags: DeviceMemoryReportFlagsEXT
§ty: DeviceMemoryReportEventTypeEXT
§memory_object_id: u64
§size: DeviceSize
§object_type: ObjectType
§object_handle: u64
§heap_index: u32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> DeviceMemoryReportCallbackDataEXT<'a>
impl<'a> DeviceMemoryReportCallbackDataEXT<'a>
pub fn flags(self, flags: DeviceMemoryReportFlagsEXT) -> Self
pub fn ty(self, ty: DeviceMemoryReportEventTypeEXT) -> Self
pub fn memory_object_id(self, memory_object_id: u64) -> Self
pub fn size(self, size: DeviceSize) -> Self
pub fn object_handle<T: Handle>(self, object_handle: T) -> Self
pub fn heap_index(self, heap_index: u32) -> Self
Trait Implementations§
source§impl<'a> Clone for DeviceMemoryReportCallbackDataEXT<'a>
impl<'a> Clone for DeviceMemoryReportCallbackDataEXT<'a>
source§fn clone(&self) -> DeviceMemoryReportCallbackDataEXT<'a>
fn clone(&self) -> DeviceMemoryReportCallbackDataEXT<'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 DeviceMemoryReportCallbackDataEXT<'a>
impl<'a> Debug for DeviceMemoryReportCallbackDataEXT<'a>
source§impl Default for DeviceMemoryReportCallbackDataEXT<'_>
impl Default for DeviceMemoryReportCallbackDataEXT<'_>
source§impl<'a> TaggedStructure for DeviceMemoryReportCallbackDataEXT<'a>
impl<'a> TaggedStructure for DeviceMemoryReportCallbackDataEXT<'a>
const STRUCTURE_TYPE: StructureType = StructureType::DEVICE_MEMORY_REPORT_CALLBACK_DATA_EXT
impl<'a> Copy for DeviceMemoryReportCallbackDataEXT<'a>
impl Send for DeviceMemoryReportCallbackDataEXT<'_>
impl Sync for DeviceMemoryReportCallbackDataEXT<'_>
Auto Trait Implementations§
impl<'a> Freeze for DeviceMemoryReportCallbackDataEXT<'a>
impl<'a> RefUnwindSafe for DeviceMemoryReportCallbackDataEXT<'a>
impl<'a> Unpin for DeviceMemoryReportCallbackDataEXT<'a>
impl<'a> UnwindSafe for DeviceMemoryReportCallbackDataEXT<'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