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::*;
use vulkan::vk::{VkStructureType,RawVkStructureType};
use vulkan::vk::{VkImageAspectFlags,RawVkImageAspectFlags};

/// Wrapper for [VkBindImagePlaneMemoryInfo](https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkBindImagePlaneMemoryInfo.html).
#[derive(Debug, Clone)]
pub struct VkBindImagePlaneMemoryInfo {
    pub plane_aspect: VkImageAspectFlags,
}

#[doc(hidden)]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct RawVkBindImagePlaneMemoryInfo {
    pub s_type: RawVkStructureType,
    pub next: *mut c_void,
    pub plane_aspect: RawVkImageAspectFlags,
}

impl VkWrappedType<RawVkBindImagePlaneMemoryInfo> for VkBindImagePlaneMemoryInfo {
    fn vk_to_raw(src: &VkBindImagePlaneMemoryInfo, dst: &mut RawVkBindImagePlaneMemoryInfo) {
        dst.s_type = vk_to_raw_value(&VkStructureType::BindImagePlaneMemoryInfo);
        dst.next = ptr::null_mut();
        dst.plane_aspect = vk_to_raw_value(&src.plane_aspect);
    }
}

impl VkRawType<VkBindImagePlaneMemoryInfo> for RawVkBindImagePlaneMemoryInfo {
    fn vk_to_wrapped(src: &RawVkBindImagePlaneMemoryInfo) -> VkBindImagePlaneMemoryInfo {
        VkBindImagePlaneMemoryInfo {
            plane_aspect: RawVkImageAspectFlags::vk_to_wrapped(&src.plane_aspect),
        }
    }
}

impl Default for VkBindImagePlaneMemoryInfo {
    fn default() -> VkBindImagePlaneMemoryInfo {
        VkBindImagePlaneMemoryInfo {
            plane_aspect: Default::default(),
        }
    }
}

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

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