#[repr(C)]pub struct VkMappedMemoryRange {
pub sType: VkStructureType,
pub pNext: *const c_void,
pub memory: VkDeviceMemory,
pub offset: VkDeviceSize,
pub size: VkDeviceSize,
}Fields§
§sType: VkStructureType§pNext: *const c_void§memory: VkDeviceMemory§offset: VkDeviceSize§size: VkDeviceSizeTrait Implementations§
Source§impl Clone for VkMappedMemoryRange
impl Clone for VkMappedMemoryRange
Source§fn clone(&self) -> VkMappedMemoryRange
fn clone(&self) -> VkMappedMemoryRange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VkMappedMemoryRange
impl Debug for VkMappedMemoryRange
Source§impl TypedVulkanStructure for VkMappedMemoryRange
impl TypedVulkanStructure for VkMappedMemoryRange
Source§const TYPE: VkStructureType = VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE
const TYPE: VkStructureType = VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE
sType of this structure
Source§fn try_from_generic(g: &GenericVulkanStructure) -> Option<&Self>where
Self: Sized,
fn try_from_generic(g: &GenericVulkanStructure) -> Option<&Self>where
Self: Sized,
Cast structure ref only if sType matches
Source§impl VulkanStructure for VkMappedMemoryRange
impl VulkanStructure for VkMappedMemoryRange
Source§fn as_generic(&self) -> &GenericVulkanStructure
fn as_generic(&self) -> &GenericVulkanStructure
Cast structure ref to generic. This is same as transmute but must be safe.
Source§fn as_generic_mut(&mut self) -> &mut GenericVulkanStructure
fn as_generic_mut(&mut self) -> &mut GenericVulkanStructure
Cast structure mutable ref to generic. This is same as transmute but must be safe.
Auto Trait Implementations§
impl Freeze for VkMappedMemoryRange
impl RefUnwindSafe for VkMappedMemoryRange
impl !Send for VkMappedMemoryRange
impl !Sync for VkMappedMemoryRange
impl Unpin for VkMappedMemoryRange
impl UnsafeUnpin for VkMappedMemoryRange
impl UnwindSafe for VkMappedMemoryRange
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