ash::vk

Type Alias ConformanceVersionKHR

Source
pub type ConformanceVersionKHR = ConformanceVersion;

Aliased Type§

struct ConformanceVersionKHR {
    pub major: u8,
    pub minor: u8,
    pub subminor: u8,
    pub patch: u8,
}

Fields§

§major: u8§minor: u8§subminor: u8§patch: u8

Implementations

Source§

impl ConformanceVersion

Source

pub fn major(self, major: u8) -> Self

Source

pub fn minor(self, minor: u8) -> Self

Source

pub fn subminor(self, subminor: u8) -> Self

Source

pub fn patch(self, patch: u8) -> Self

Trait Implementations

Source§

impl Clone for ConformanceVersion

Source§

fn clone(&self) -> ConformanceVersion

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for ConformanceVersion

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for ConformanceVersion

Source§

fn default() -> ConformanceVersion

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

impl Copy for ConformanceVersion