Struct nvenc::CudaDevice
source · pub struct CudaDevice<'a> { /* private fields */ }
Implementations§
source§impl<'a> CudaDevice<'a>
impl<'a> CudaDevice<'a>
pub fn name(&self) -> Result<String, CudaError>
pub fn into_context(self) -> Result<CudaContext<'a>, CudaError>
Auto Trait Implementations§
impl<'a> Freeze for CudaDevice<'a>
impl<'a> RefUnwindSafe for CudaDevice<'a>
impl<'a> Send for CudaDevice<'a>
impl<'a> Sync for CudaDevice<'a>
impl<'a> Unpin for CudaDevice<'a>
impl<'a> UnwindSafe for CudaDevice<'a>
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