lava 0.4.9

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

use std::os::raw::c_char;
use std::ops::Deref;
use std::ptr;
use std::cmp;
use std::mem;
use utils::c_bindings::*;
use utils::vk_convert::*;
use utils::vk_null::*;
use utils::vk_ptr::*;
use utils::vk_traits::*;
use vulkan::vk::*;

/// Wrapper for [VkDrawMeshTasksIndirectCommandNV](https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkDrawMeshTasksIndirectCommandNV.html).
#[derive(Debug, Clone)]
pub struct VkDrawMeshTasksIndirectCommand {
    pub task_count: usize,
    pub first_task: usize,
}

#[doc(hidden)]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct RawVkDrawMeshTasksIndirectCommand {
    pub task_count: u32,
    pub first_task: u32,
}

impl VkWrappedType<RawVkDrawMeshTasksIndirectCommand> for VkDrawMeshTasksIndirectCommand {
    fn vk_to_raw(src: &VkDrawMeshTasksIndirectCommand, dst: &mut RawVkDrawMeshTasksIndirectCommand) {
        dst.task_count = vk_to_raw_value(&src.task_count);
        dst.first_task = vk_to_raw_value(&src.first_task);
    }
}

impl VkRawType<VkDrawMeshTasksIndirectCommand> for RawVkDrawMeshTasksIndirectCommand {
    fn vk_to_wrapped(src: &RawVkDrawMeshTasksIndirectCommand) -> VkDrawMeshTasksIndirectCommand {
        VkDrawMeshTasksIndirectCommand {
            task_count: u32::vk_to_wrapped(&src.task_count),
            first_task: u32::vk_to_wrapped(&src.first_task),
        }
    }
}

impl Default for VkDrawMeshTasksIndirectCommand {
    fn default() -> VkDrawMeshTasksIndirectCommand {
        VkDrawMeshTasksIndirectCommand {
            task_count: 0,
            first_task: 0,
        }
    }
}

impl VkSetup for VkDrawMeshTasksIndirectCommand {
    fn vk_setup(&mut self, fn_table: *mut VkFunctionTable) {
        
    }
}

impl VkFree for RawVkDrawMeshTasksIndirectCommand {
    fn vk_free(&self) {
        
    }
}