Trait rust_cuda::host::CudaDroppable

source ·
pub trait CudaDroppable: Sized {
    // Required method
    fn drop(val: Self) -> Result<(), (CudaError, Self)>;
}
Available on crate feature host only.

Required Methods§

source

fn drop(val: Self) -> Result<(), (CudaError, Self)>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl CudaDroppable for Context

source§

fn drop(val: Self) -> Result<(), (CudaError, Self)>

source§

impl CudaDroppable for Event

source§

fn drop(val: Self) -> Result<(), (CudaError, Self)>

source§

impl CudaDroppable for Module

source§

fn drop(val: Self) -> Result<(), (CudaError, Self)>

source§

impl CudaDroppable for Stream

source§

fn drop(val: Self) -> Result<(), (CudaError, Self)>

source§

impl<T> CudaDroppable for DeviceBox<T>

source§

fn drop(val: Self) -> Result<(), (CudaError, Self)>

source§

impl<T> CudaDroppable for LockedBox<T>

source§

fn drop(val: Self) -> Result<(), (CudaError, Self)>

source§

impl<T: DeviceCopy> CudaDroppable for DeviceBuffer<T>

source§

fn drop(val: Self) -> Result<(), (CudaError, Self)>

source§

impl<T: DeviceCopy> CudaDroppable for LockedBuffer<T>

source§

fn drop(val: Self) -> Result<(), (CudaError, Self)>

Implementors§