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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<S, T> IntoSafeCast<T> for Swhere
T: FromSafeCast<S>,
impl<S, T> IntoSafeCast<T> for Swhere
T: FromSafeCast<S>,
Source§fn into_safe_cast(self) -> T
fn into_safe_cast(self) -> T
Convert
self into a T. This operation is guaranteed to be lossless.Source§impl<S, T> IntoSafeCastArch<T> for Swhere
T: FromSafeCastArch<S>,
impl<S, T> IntoSafeCastArch<T> for Swhere
T: FromSafeCastArch<S>,
Source§fn into_safe_cast_arch(self) -> T
fn into_safe_cast_arch(self) -> T
Convert
self into a T. This operation is guaranteed to be lossless.