Struct erupt::extensions::ext_device_memory_report::DeviceMemoryReportCallbackDataEXTBuilder
source · #[repr(transparent)]pub struct DeviceMemoryReportCallbackDataEXTBuilder<'a>(_, _);
Expand description
Vulkan Manual Page · Builder of DeviceMemoryReportCallbackDataEXT
Implementations
sourceimpl<'a> DeviceMemoryReportCallbackDataEXTBuilder<'a>
impl<'a> DeviceMemoryReportCallbackDataEXTBuilder<'a>
pub fn new() -> DeviceMemoryReportCallbackDataEXTBuilder<'a>
pub fn flags(self, flags: DeviceMemoryReportFlagsEXT) -> Self
pub fn _type(self, _type: 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_dangling(self) -> DeviceMemoryReportCallbackDataEXT
pub fn build_dangling(self) -> DeviceMemoryReportCallbackDataEXT
Discards all lifetime information.
Use the Deref
and DerefMut
implementations if possible.
Methods from Deref<Target = DeviceMemoryReportCallbackDataEXT>
pub const STRUCTURE_TYPE: StructureType = crate::vk1_0::StructureType::DEVICE_MEMORY_REPORT_CALLBACK_DATA_EXT
Trait Implementations
sourceimpl<'a> Clone for DeviceMemoryReportCallbackDataEXTBuilder<'a>
impl<'a> Clone for DeviceMemoryReportCallbackDataEXTBuilder<'a>
sourcefn clone(&self) -> DeviceMemoryReportCallbackDataEXTBuilder<'a>
fn clone(&self) -> DeviceMemoryReportCallbackDataEXTBuilder<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for DeviceMemoryReportCallbackDataEXTBuilder<'a>
impl<'a> Debug for DeviceMemoryReportCallbackDataEXTBuilder<'a>
sourceimpl<'a> Default for DeviceMemoryReportCallbackDataEXTBuilder<'a>
impl<'a> Default for DeviceMemoryReportCallbackDataEXTBuilder<'a>
sourcefn default() -> DeviceMemoryReportCallbackDataEXTBuilder<'a>
fn default() -> DeviceMemoryReportCallbackDataEXTBuilder<'a>
Returns the “default value” for a type. Read more
sourceimpl<'a> Deref for DeviceMemoryReportCallbackDataEXTBuilder<'a>
impl<'a> Deref for DeviceMemoryReportCallbackDataEXTBuilder<'a>
type Target = DeviceMemoryReportCallbackDataEXT
type Target = DeviceMemoryReportCallbackDataEXT
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for DeviceMemoryReportCallbackDataEXTBuilder<'a>
impl<'a> DerefMut for DeviceMemoryReportCallbackDataEXTBuilder<'a>
impl<'a> Copy for DeviceMemoryReportCallbackDataEXTBuilder<'a>
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more