pub struct DeviceMemoryReportCallbackDataEXTBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> DeviceMemoryReportCallbackDataEXTBuilder<'a>
impl<'a> DeviceMemoryReportCallbackDataEXTBuilder<'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_type(self, object_type: ObjectType) -> Self
pub fn object_handle(self, object_handle: u64) -> Self
pub fn heap_index(self, heap_index: u32) -> Self
Sourcepub fn build(self) -> DeviceMemoryReportCallbackDataEXT
pub fn build(self) -> DeviceMemoryReportCallbackDataEXT
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 DeviceMemoryReportCallbackDataEXTBuilder<'a>
impl<'a> Deref for DeviceMemoryReportCallbackDataEXTBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for DeviceMemoryReportCallbackDataEXTBuilder<'a>
impl<'a> RefUnwindSafe for DeviceMemoryReportCallbackDataEXTBuilder<'a>
impl<'a> !Send for DeviceMemoryReportCallbackDataEXTBuilder<'a>
impl<'a> !Sync for DeviceMemoryReportCallbackDataEXTBuilder<'a>
impl<'a> Unpin for DeviceMemoryReportCallbackDataEXTBuilder<'a>
impl<'a> UnwindSafe for DeviceMemoryReportCallbackDataEXTBuilder<'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