#[repr(C)]pub struct MappedMemoryRange {
pub sType: StructureType,
pub pNext: *const c_void,
pub memory: DeviceMemory,
pub offset: DeviceSize,
pub size: DeviceSize,
}Fields§
§sType: StructureType§pNext: *const c_void§memory: DeviceMemory§offset: DeviceSize§size: DeviceSizeImplementations§
Source§impl MappedMemoryRange
impl MappedMemoryRange
pub fn new() -> Self
pub fn sType(self, sType: StructureType) -> Self
pub fn pNext(self, pNext: *const c_void) -> Self
pub fn memory(self, memory: DeviceMemory) -> Self
pub fn offset(self, offset: DeviceSize) -> Self
pub fn size(self, size: DeviceSize) -> Self
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
Source§fn default() -> MappedMemoryRange
fn default() -> MappedMemoryRange
Returns the “default value” for a type. Read more
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 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