pub struct Library { /* private fields */ }Implementations§
Source§impl Library
impl Library
pub const fn cuda_driver() -> Self
pub const fn cuda_runtime() -> Self
pub const fn nvrtc() -> Self
pub const fn nvjitlink() -> Self
pub const fn nvvm() -> Self
pub const fn nvtx() -> Self
pub const fn nvml() -> Self
pub const fn cublas() -> Self
pub const fn cublas_lt() -> Self
pub const fn cudnn() -> Self
pub const fn cudss() -> Self
pub const fn cufft() -> Self
pub const fn cufile() -> Self
pub const fn cupti() -> Self
pub const fn curand() -> Self
pub const fn cusolver() -> Self
pub const fn cusparse() -> Self
pub const fn cutensor() -> Self
pub const fn cutensor_mg() -> Self
pub const fn cutensor_mp() -> Self
pub const fn nccl() -> Self
pub const fn npp() -> Self
pub const fn nvcomp() -> Self
pub const fn nvimagecodec() -> Self
pub const fn nvjpeg() -> Self
pub const fn nvjpeg2k() -> Self
pub const fn nvtiff() -> Self
Source§impl Library
impl Library
pub const fn new(name: &'static str, files: &'static [&'static str]) -> Self
pub const fn name(&self) -> &'static str
pub fn load(&self) -> Result<(), LoadError>
pub fn paths(&self) -> Result<Vec<PathBuf>, LoadError>
pub unsafe fn symbol<F: Copy>(&self, name: &str) -> Option<F>
pub fn absence(&self) -> Absence
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Library
impl Forget for Library
impl RefUnwindSafe for Library
impl Send for Library
impl Sync for Library
impl Unpin for Library
impl UnsafeUnpin for Library
impl UnwindSafe for Library
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