#[repr(C)]pub struct UnityVulkanMemory {
pub memory: VkDeviceMemory,
pub offset: VkDeviceSize,
pub size: VkDeviceSize,
pub mapped: *mut c_void,
pub flags: VkMemoryPropertyFlags,
pub memoryTypeIndex: c_uint,
pub reserved: [*mut c_void; 4],
}
Fields§
§memory: VkDeviceMemory
§offset: VkDeviceSize
§size: VkDeviceSize
§mapped: *mut c_void
§flags: VkMemoryPropertyFlags
§memoryTypeIndex: c_uint
§reserved: [*mut c_void; 4]
Trait Implementations§
source§impl Clone for UnityVulkanMemory
impl Clone for UnityVulkanMemory
source§fn clone(&self) -> UnityVulkanMemory
fn clone(&self) -> UnityVulkanMemory
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for UnityVulkanMemory
impl Default for UnityVulkanMemory
impl Copy for UnityVulkanMemory
Auto Trait Implementations§
impl Freeze for UnityVulkanMemory
impl RefUnwindSafe for UnityVulkanMemory
impl !Send for UnityVulkanMemory
impl !Sync for UnityVulkanMemory
impl Unpin for UnityVulkanMemory
impl UnwindSafe for UnityVulkanMemory
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)