pub struct GpuVaAlloc<T: DriverGpuVm>(/* private fields */);Implementations§
Source§impl<T: DriverGpuVm> GpuVaAlloc<T>
impl<T: DriverGpuVm> GpuVaAlloc<T>
Sourcepub fn new(flags: AllocFlags) -> Result<GpuVaAlloc<T>, AllocError>
pub fn new(flags: AllocFlags) -> Result<GpuVaAlloc<T>, AllocError>
Pre-allocate a GpuVa object.
Trait Implementations§
impl<T: DriverGpuVm> Send for GpuVaAlloc<T>
impl<T: DriverGpuVm> Sync for GpuVaAlloc<T>
Auto Trait Implementations§
impl<T> !RefUnwindSafe for GpuVaAlloc<T>
impl<T> !UnwindSafe for GpuVaAlloc<T>
impl<T> Freeze for GpuVaAlloc<T>
impl<T> Unpin for GpuVaAlloc<T>
impl<T> UnsafeUnpin for GpuVaAlloc<T>
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