Skip to main content

DeviceFaultVendorBinaryHeaderVersionOneKHR

Struct DeviceFaultVendorBinaryHeaderVersionOneKHR 

Source
#[repr(C)]
pub struct DeviceFaultVendorBinaryHeaderVersionOneKHR { pub header_size: u32, pub header_version: DeviceFaultVendorBinaryHeaderVersionKHR, pub vendor_id: u32, pub device_id: u32, pub driver_version: u32, pub pipeline_cache_uuid: [u8; 16], pub application_name_offset: u32, pub application_version: u32, pub engine_name_offset: u32, pub engine_version: u32, pub api_version: u32, }
Expand description

Native structure VkDeviceFaultVendorBinaryHeaderVersionOneKHR.

Khronos reference: VkDeviceFaultVendorBinaryHeaderVersionOneKHR

Fields§

§header_size: u32

Native field headerSize.

§header_version: DeviceFaultVendorBinaryHeaderVersionKHR

Native field headerVersion.

§vendor_id: u32

Native field vendorID.

§device_id: u32

Native field deviceID.

§driver_version: u32

Native field driverVersion.

§pipeline_cache_uuid: [u8; 16]

Native field pipelineCacheUUID.

§application_name_offset: u32

Native field applicationNameOffset.

§application_version: u32

Native field applicationVersion.

§engine_name_offset: u32

Native field engineNameOffset.

§engine_version: u32

Native field engineVersion.

§api_version: u32

Native field apiVersion.

Implementations§

Source§

impl DeviceFaultVendorBinaryHeaderVersionOneKHR

Source

pub fn new() -> Self

Construct the record with its default native state.

Source

pub fn set_header_size(self, value: u32) -> Self

Set native field headerSize without native effects.

Source

pub fn set_header_version( self, value: DeviceFaultVendorBinaryHeaderVersionKHR, ) -> Self

Set native field headerVersion without native effects.

Source

pub fn set_vendor_id(self, value: u32) -> Self

Set native field vendorID without native effects.

Source

pub fn set_device_id(self, value: u32) -> Self

Set native field deviceID without native effects.

Source

pub fn set_driver_version(self, value: u32) -> Self

Set native field driverVersion without native effects.

Source

pub fn set_pipeline_cache_uuid(self, value: [u8; 16]) -> Self

Set native field pipelineCacheUUID without native effects.

Source

pub fn set_application_name_offset(self, value: u32) -> Self

Set native field applicationNameOffset without native effects.

Source

pub fn set_application_version(self, value: u32) -> Self

Set native field applicationVersion without native effects.

Source

pub fn set_engine_name_offset(self, value: u32) -> Self

Set native field engineNameOffset without native effects.

Source

pub fn set_engine_version(self, value: u32) -> Self

Set native field engineVersion without native effects.

Source

pub fn set_api_version(self, value: u32) -> Self

Set native field apiVersion without native effects.

Trait Implementations§

Source§

impl Clone for DeviceFaultVendorBinaryHeaderVersionOneKHR

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for DeviceFaultVendorBinaryHeaderVersionOneKHR

Source§

impl Default for DeviceFaultVendorBinaryHeaderVersionOneKHR

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.