Struct gpu_alloc_erupt::EruptMemoryDevice [−][src]
#[repr(transparent)]pub struct EruptMemoryDevice { /* fields omitted */ }
Implementations
impl EruptMemoryDevice[src]
impl EruptMemoryDevice[src]pub fn wrap(device: &DeviceLoader) -> &Self[src]
Trait Implementations
impl MemoryDevice<DeviceMemory> for EruptMemoryDevice[src]
impl MemoryDevice<DeviceMemory> for EruptMemoryDevice[src]unsafe fn allocate_memory(
&self,
size: u64,
memory_type: u32,
flags: AllocationFlags
) -> Result<DeviceMemory, OutOfMemory>[src]
&self,
size: u64,
memory_type: u32,
flags: AllocationFlags
) -> Result<DeviceMemory, OutOfMemory>
unsafe fn deallocate_memory(&self, memory: DeviceMemory)[src]
unsafe fn map_memory(
&self,
memory: &mut DeviceMemory,
offset: u64,
size: u64
) -> Result<NonNull<u8>, DeviceMapError>[src]
&self,
memory: &mut DeviceMemory,
offset: u64,
size: u64
) -> Result<NonNull<u8>, DeviceMapError>
unsafe fn unmap_memory(&self, memory: &mut DeviceMemory)[src]
unsafe fn invalidate_memory_ranges(
&self,
ranges: &[MappedMemoryRange<'_, DeviceMemory>]
) -> Result<(), OutOfMemory>[src]
&self,
ranges: &[MappedMemoryRange<'_, DeviceMemory>]
) -> Result<(), OutOfMemory>
unsafe fn flush_memory_ranges(
&self,
ranges: &[MappedMemoryRange<'_, DeviceMemory>]
) -> Result<(), OutOfMemory>[src]
&self,
ranges: &[MappedMemoryRange<'_, DeviceMemory>]
) -> Result<(), OutOfMemory>
Auto Trait Implementations
impl RefUnwindSafe for EruptMemoryDevice
impl RefUnwindSafe for EruptMemoryDeviceimpl Send for EruptMemoryDevice
impl Send for EruptMemoryDeviceimpl Sync for EruptMemoryDevice
impl Sync for EruptMemoryDeviceimpl Unpin for EruptMemoryDevice
impl Unpin for EruptMemoryDeviceimpl UnwindSafe for EruptMemoryDevice
impl UnwindSafe for EruptMemoryDevice