pub struct DeviceMemoryReportCallbackDataEXTBuilder { /* private fields */ }
Expand description
A builder for a DeviceMemoryReportCallbackDataEXT
.
Implementations§
source§impl DeviceMemoryReportCallbackDataEXTBuilder
impl DeviceMemoryReportCallbackDataEXTBuilder
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
pub fn build(self) -> DeviceMemoryReportCallbackDataEXT
Trait Implementations§
source§impl Cast for DeviceMemoryReportCallbackDataEXTBuilder
impl Cast for DeviceMemoryReportCallbackDataEXTBuilder
§type Target = DeviceMemoryReportCallbackDataEXT
type Target = DeviceMemoryReportCallbackDataEXT
The other type this type can be used interchangeably with in FFI.
source§impl Clone for DeviceMemoryReportCallbackDataEXTBuilder
impl Clone for DeviceMemoryReportCallbackDataEXTBuilder
source§fn clone(&self) -> DeviceMemoryReportCallbackDataEXTBuilder
fn clone(&self) -> DeviceMemoryReportCallbackDataEXTBuilder
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 Default for DeviceMemoryReportCallbackDataEXTBuilder
impl Default for DeviceMemoryReportCallbackDataEXTBuilder
source§fn default() -> DeviceMemoryReportCallbackDataEXTBuilder
fn default() -> DeviceMemoryReportCallbackDataEXTBuilder
Returns the “default value” for a type. Read more
impl Copy for DeviceMemoryReportCallbackDataEXTBuilder
Auto Trait Implementations§
impl Freeze for DeviceMemoryReportCallbackDataEXTBuilder
impl RefUnwindSafe for DeviceMemoryReportCallbackDataEXTBuilder
impl !Send for DeviceMemoryReportCallbackDataEXTBuilder
impl !Sync for DeviceMemoryReportCallbackDataEXTBuilder
impl Unpin for DeviceMemoryReportCallbackDataEXTBuilder
impl UnwindSafe for DeviceMemoryReportCallbackDataEXTBuilder
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