1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
// Generated by `scripts/generate.js`

use utils::vk_traits::*;

/// Wrapper for [VkPipelineColorBlendStateCreateFlags](https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkPipelineColorBlendStateCreateFlags.html).
///
/// Use the macro `VkPipelineColorBlendStateCreateFlags!` as an alternative method to create a structure. For example, these two snippets return the same value:
/// ```
/// VkPipelineColorBlendStateCreateFlags!()
/// ```
/// ```
/// VkPipelineColorBlendStateCreateFlags {
/// }
/// ```
#[derive(Debug, Clone)]
pub struct VkPipelineColorBlendStateCreateFlags {
    
}

#[doc(hidden)]
pub type RawVkPipelineColorBlendStateCreateFlags = u32;

impl VkWrappedType<RawVkPipelineColorBlendStateCreateFlags> for VkPipelineColorBlendStateCreateFlags {
    fn vk_to_raw(src: &VkPipelineColorBlendStateCreateFlags, dst: &mut RawVkPipelineColorBlendStateCreateFlags) {
        *dst = 0;
    }
}

impl VkRawType<VkPipelineColorBlendStateCreateFlags> for RawVkPipelineColorBlendStateCreateFlags {
    fn vk_to_wrapped(src: &RawVkPipelineColorBlendStateCreateFlags) -> VkPipelineColorBlendStateCreateFlags {
        VkPipelineColorBlendStateCreateFlags {
            
        }
    }
}

impl Default for VkPipelineColorBlendStateCreateFlags {
    fn default() -> VkPipelineColorBlendStateCreateFlags {
        VkPipelineColorBlendStateCreateFlags {
            
        }
    }
}

impl VkPipelineColorBlendStateCreateFlags {
    
    /// Return a structure with all flags to `false`.
    pub fn none() -> Self {
        VkPipelineColorBlendStateCreateFlags {
            
        }
    }
    
    /// Return a structure with all flags to `true`.
    pub fn all() -> Self {
        VkPipelineColorBlendStateCreateFlags {
            
        }
    }
    
    /// Return the numerical bit flags corresponding to the structure (as described in the Vulkan specs).
    pub fn to_u32(&self) -> u32 {
        0
    }
    
    /// Create a structure corresponding to the specified numerical bit flags.
    pub fn from_u32(value: u32) -> Self {
        VkPipelineColorBlendStateCreateFlags {
            
        }
    }
}

#[doc(hidden)]
#[macro_export]
macro_rules! VkPipelineColorBlendStateCreateFlags {
    ( $( $x:ident ),* ) => {
        VkPipelineColorBlendStateCreateFlags {
            $($x: true,)*
            ..VkPipelineColorBlendStateCreateFlags::none()
        }
    }
}