#[repr(C)]pub struct MappedMemoryRange {
pub s_type: StructureType,
pub p_next: *const c_void,
pub memory: DeviceMemory,
pub offset: u64,
pub size: u64,
}Expand description
VkMappedMemoryRange
Provided by VK_BASE_VERSION_1_0.
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE.
p_next: *const c_voidOptional, may be null.
memory: DeviceMemory§offset: u64§size: u64Implementations§
Source§impl MappedMemoryRange
impl MappedMemoryRange
Sourcepub fn builder<'a>() -> MappedMemoryRangeBuilder<'a>
pub fn builder<'a>() -> MappedMemoryRangeBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for MappedMemoryRange
impl Clone for MappedMemoryRange
Source§fn clone(&self) -> MappedMemoryRange
fn clone(&self) -> MappedMemoryRange
Returns a duplicate 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 Debug for MappedMemoryRange
impl Debug for MappedMemoryRange
Source§impl Default for MappedMemoryRange
impl Default for MappedMemoryRange
impl Copy for MappedMemoryRange
Auto Trait Implementations§
impl Freeze for MappedMemoryRange
impl RefUnwindSafe for MappedMemoryRange
impl !Send for MappedMemoryRange
impl !Sync for MappedMemoryRange
impl Unpin for MappedMemoryRange
impl UnsafeUnpin for MappedMemoryRange
impl UnwindSafe for MappedMemoryRange
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