pub struct MappedMemoryRange<'a>(/* private fields */);Expand description
Structure specifying a mapped memory range.
Implementations§
Source§impl<'a> MappedMemoryRange<'a>
impl<'a> MappedMemoryRange<'a>
pub fn new( memory: &'a (impl VkHandle<Handle = VkDeviceMemory> + ?Sized), range: Range<DeviceSize>, ) -> Self
pub const unsafe fn new_raw( memory: VkDeviceMemory, offset: DeviceSize, size: DeviceSize, ) -> Self
pub const unsafe fn from_raw(raw: VkMappedMemoryRange) -> Self
pub const fn into_raw(self) -> VkMappedMemoryRange
Auto Trait Implementations§
impl<'a> Freeze for MappedMemoryRange<'a>
impl<'a> !RefUnwindSafe for MappedMemoryRange<'a>
impl<'a> !Send for MappedMemoryRange<'a>
impl<'a> !Sync for MappedMemoryRange<'a>
impl<'a> Unpin for MappedMemoryRange<'a>
impl<'a> !UnwindSafe for MappedMemoryRange<'a>
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