use utils::vk_traits::*;
#[repr(i32)]
#[derive(Debug, PartialEq, Copy, Clone)]
pub enum VkPipelineExecutableStatisticFormat {
Bool32 = 0,
Int64 = 1,
Uint64 = 2,
Float64 = 3,
}
#[doc(hidden)]
pub type RawVkPipelineExecutableStatisticFormat = i32;
impl VkWrappedType<RawVkPipelineExecutableStatisticFormat> for VkPipelineExecutableStatisticFormat {
fn vk_to_raw(src: &VkPipelineExecutableStatisticFormat, dst: &mut RawVkPipelineExecutableStatisticFormat) {
*dst = *src as i32
}
}
impl VkRawType<VkPipelineExecutableStatisticFormat> for RawVkPipelineExecutableStatisticFormat {
fn vk_to_wrapped(src: &RawVkPipelineExecutableStatisticFormat) -> VkPipelineExecutableStatisticFormat {
unsafe {
*((src as *const i32) as *const VkPipelineExecutableStatisticFormat)
}
}
}
impl Default for VkPipelineExecutableStatisticFormat {
fn default() -> VkPipelineExecutableStatisticFormat {
VkPipelineExecutableStatisticFormat::Bool32
}
}