Struct ash::vk::DeviceFaultVendorInfoEXT
source · #[repr(C)]pub struct DeviceFaultVendorInfoEXT {
pub description: [c_char; 256],
pub vendor_fault_code: u64,
pub vendor_fault_data: u64,
}
Expand description
Fields§
§description: [c_char; 256]
§vendor_fault_code: u64
§vendor_fault_data: u64
Implementations§
source§impl DeviceFaultVendorInfoEXT
impl DeviceFaultVendorInfoEXT
pub fn description( self, description: &CStr, ) -> Result<Self, CStrTooLargeForStaticArray>
pub fn description_as_c_str(&self) -> Result<&CStr, FromBytesUntilNulError>
pub fn vendor_fault_code(self, vendor_fault_code: u64) -> Self
pub fn vendor_fault_data(self, vendor_fault_data: u64) -> Self
Trait Implementations§
source§impl Clone for DeviceFaultVendorInfoEXT
impl Clone for DeviceFaultVendorInfoEXT
source§fn clone(&self) -> DeviceFaultVendorInfoEXT
fn clone(&self) -> DeviceFaultVendorInfoEXT
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 Debug for DeviceFaultVendorInfoEXT
impl Debug for DeviceFaultVendorInfoEXT
source§impl Default for DeviceFaultVendorInfoEXT
impl Default for DeviceFaultVendorInfoEXT
impl Copy for DeviceFaultVendorInfoEXT
Auto Trait Implementations§
impl Freeze for DeviceFaultVendorInfoEXT
impl RefUnwindSafe for DeviceFaultVendorInfoEXT
impl Send for DeviceFaultVendorInfoEXT
impl Sync for DeviceFaultVendorInfoEXT
impl Unpin for DeviceFaultVendorInfoEXT
impl UnwindSafe for DeviceFaultVendorInfoEXT
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