use utils::vk_traits::*; impl VkRawType for u32 { fn vk_to_wrapped(value: &u32) -> usize { *value as usize } } impl VkWrappedType for usize { fn vk_to_raw(value: &usize, dst: &mut u32) { *dst = *value as u32; } } impl VkRawType for u64 { fn vk_to_wrapped(value: &u64) -> usize { *value as usize } } impl VkWrappedType for usize { fn vk_to_raw(value: &usize, dst: &mut u64) { *dst = *value as u64; } } impl VkRawType for i32 { fn vk_to_wrapped(value: &i32) -> isize { *value as isize } } impl VkWrappedType for isize { fn vk_to_raw(value: &isize, dst: &mut i32) { *dst = *value as i32; } } impl VkRawType for i64 { fn vk_to_wrapped(value: &i64) -> isize { *value as isize } } impl VkWrappedType for isize { fn vk_to_raw(value: &isize, dst: &mut i64) { *dst = *value as i64; } }