pub struct VirtualAddressRange { /* private fields */ }Expand description
A reserved range of virtual addresses in the GPU address space.
This represents a contiguous block of virtual addresses that has been
reserved but not necessarily backed by physical memory. Physical memory
is associated with the range via VirtualMemoryManager::map.
§Note
On systems without CUDA virtual memory support, the base address
is set to 0 and operations on the range will return
CudaError::NotSupported.
Implementations§
Trait Implementations§
Source§impl Clone for VirtualAddressRange
impl Clone for VirtualAddressRange
Source§fn clone(&self) -> VirtualAddressRange
fn clone(&self) -> VirtualAddressRange
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 VirtualAddressRange
impl Debug for VirtualAddressRange
Source§impl Display for VirtualAddressRange
impl Display for VirtualAddressRange
Source§impl PartialEq for VirtualAddressRange
impl PartialEq for VirtualAddressRange
impl Eq for VirtualAddressRange
impl StructuralPartialEq for VirtualAddressRange
Auto Trait Implementations§
impl Freeze for VirtualAddressRange
impl RefUnwindSafe for VirtualAddressRange
impl Send for VirtualAddressRange
impl Sync for VirtualAddressRange
impl Unpin for VirtualAddressRange
impl UnsafeUnpin for VirtualAddressRange
impl UnwindSafe for VirtualAddressRange
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