lava 0.4.9

Rust wrapper to manipulate Vulkan more conveniently than with bindings.
Documentation
// Generated by `scripts/generate.js`

use utils::vk_traits::*;

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

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

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

impl VkRawType<VkPipelineTessellationStateCreateFlags> for RawVkPipelineTessellationStateCreateFlags {
    fn vk_to_wrapped(src: &RawVkPipelineTessellationStateCreateFlags) -> VkPipelineTessellationStateCreateFlags {
        VkPipelineTessellationStateCreateFlags {
            
        }
    }
}

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

impl VkPipelineTessellationStateCreateFlags {
    
    /// Return a structure with all flags to `false`.
    pub fn none() -> Self {
        VkPipelineTessellationStateCreateFlags {
            
        }
    }
    
    /// Return a structure with all flags to `true`.
    pub fn all() -> Self {
        VkPipelineTessellationStateCreateFlags {
            
        }
    }
    
    /// 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 {
        VkPipelineTessellationStateCreateFlags {
            
        }
    }
}

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