Struct ash::vk::definitions::DeviceFaultInfoEXT
source · #[repr(C)]pub struct DeviceFaultInfoEXT<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub description: [c_char; 256],
pub p_address_infos: *mut DeviceFaultAddressInfoEXT,
pub p_vendor_infos: *mut DeviceFaultVendorInfoEXT,
pub p_vendor_binary_data: *mut c_void,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§description: [c_char; 256]
§p_address_infos: *mut DeviceFaultAddressInfoEXT
§p_vendor_infos: *mut DeviceFaultVendorInfoEXT
§p_vendor_binary_data: *mut c_void
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> DeviceFaultInfoEXT<'a>
impl<'a> DeviceFaultInfoEXT<'a>
pub fn description( self, description: &CStr, ) -> Result<Self, CStrTooLargeForStaticArray>
pub fn description_as_c_str(&self) -> Result<&CStr, FromBytesUntilNulError>
pub fn address_infos( self, address_infos: &'a mut DeviceFaultAddressInfoEXT, ) -> Self
pub fn vendor_infos( self, vendor_infos: &'a mut DeviceFaultVendorInfoEXT, ) -> Self
pub fn vendor_binary_data(self, vendor_binary_data: *mut c_void) -> Self
Trait Implementations§
source§impl<'a> Clone for DeviceFaultInfoEXT<'a>
impl<'a> Clone for DeviceFaultInfoEXT<'a>
source§fn clone(&self) -> DeviceFaultInfoEXT<'a>
fn clone(&self) -> DeviceFaultInfoEXT<'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 Debug for DeviceFaultInfoEXT<'_>
impl Debug for DeviceFaultInfoEXT<'_>
source§impl Default for DeviceFaultInfoEXT<'_>
impl Default for DeviceFaultInfoEXT<'_>
source§impl<'a> TaggedStructure for DeviceFaultInfoEXT<'a>
impl<'a> TaggedStructure for DeviceFaultInfoEXT<'a>
const STRUCTURE_TYPE: StructureType = StructureType::DEVICE_FAULT_INFO_EXT
impl<'a> Copy for DeviceFaultInfoEXT<'a>
impl Send for DeviceFaultInfoEXT<'_>
impl Sync for DeviceFaultInfoEXT<'_>
Auto Trait Implementations§
impl<'a> Freeze for DeviceFaultInfoEXT<'a>
impl<'a> RefUnwindSafe for DeviceFaultInfoEXT<'a>
impl<'a> Unpin for DeviceFaultInfoEXT<'a>
impl<'a> UnwindSafe for DeviceFaultInfoEXT<'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