#[repr(C)]pub struct MappedMemoryRange {
pub s_type: StructureType,
pub p_next: *const c_void,
pub memory: DeviceMemory,
pub offset: DeviceSize,
pub size: DeviceSize,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§memory: DeviceMemory
§offset: DeviceSize
§size: DeviceSize
Implementations§
Source§impl MappedMemoryRange
impl MappedMemoryRange
pub fn builder<'a>() -> MappedMemoryRangeBuilder<'a>
Trait Implementations§
Source§impl Clone for MappedMemoryRange
impl Clone for MappedMemoryRange
Source§fn clone(&self) -> MappedMemoryRange
fn clone(&self) -> MappedMemoryRange
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 Debug for MappedMemoryRange
impl Debug for MappedMemoryRange
Source§impl Default for MappedMemoryRange
impl Default for MappedMemoryRange
Source§impl TaggedStructure for MappedMemoryRange
impl TaggedStructure for MappedMemoryRange
const STRUCTURE_TYPE: StructureType = StructureType::MAPPED_MEMORY_RANGE
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
)