pub struct OpRemapRet<T: DriverGpuVm> {
pub unmapped_va: GpuVaRemoved<T>,
pub unused_va: Option<GpuVaAlloc<T>>,
}Expand description
Struct containing objects removed or not used by OpRemap::remap.
Fields§
§unmapped_va: GpuVaRemoved<T>The drm_gpuva that was removed.
unused_va: Option<GpuVaAlloc<T>>If the remap did not split the region into two pieces, then the unused drm_gpuva is
returned here.
Auto Trait Implementations§
impl<T> !RefUnwindSafe for OpRemapRet<T>
impl<T> !Send for OpRemapRet<T>
impl<T> !Sync for OpRemapRet<T>
impl<T> !UnwindSafe for OpRemapRet<T>
impl<T> Freeze for OpRemapRet<T>
impl<T> Unpin for OpRemapRet<T>
impl<T> UnsafeUnpin for OpRemapRet<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.