#[repr(C)]pub struct MemoryUnmapInfo<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: MemoryUnmapFlags,
pub memory: DeviceMemory,
pub _marker: PhantomData<&'a ()>,
}Expand description
Fields§
§s_type: StructureType§p_next: *const c_void§flags: MemoryUnmapFlags§memory: DeviceMemory§_marker: PhantomData<&'a ()>Implementations§
Source§impl<'a> MemoryUnmapInfo<'a>
impl<'a> MemoryUnmapInfo<'a>
pub fn flags(self, flags: MemoryUnmapFlags) -> Self
pub fn memory(self, memory: DeviceMemory) -> Self
Trait Implementations§
Source§impl<'a> Clone for MemoryUnmapInfo<'a>
impl<'a> Clone for MemoryUnmapInfo<'a>
Source§fn clone(&self) -> MemoryUnmapInfo<'a>
fn clone(&self) -> MemoryUnmapInfo<'a>
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<'a> Debug for MemoryUnmapInfo<'a>
impl<'a> Debug for MemoryUnmapInfo<'a>
Source§impl Default for MemoryUnmapInfo<'_>
impl Default for MemoryUnmapInfo<'_>
Source§impl<'a> TaggedStructure for MemoryUnmapInfo<'a>
impl<'a> TaggedStructure for MemoryUnmapInfo<'a>
const STRUCTURE_TYPE: StructureType = StructureType::MEMORY_UNMAP_INFO
impl<'a> Copy for MemoryUnmapInfo<'a>
impl Send for MemoryUnmapInfo<'_>
impl Sync for MemoryUnmapInfo<'_>
Auto Trait Implementations§
impl<'a> Freeze for MemoryUnmapInfo<'a>
impl<'a> RefUnwindSafe for MemoryUnmapInfo<'a>
impl<'a> Unpin for MemoryUnmapInfo<'a>
impl<'a> UnwindSafe for MemoryUnmapInfo<'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