Trait rust_cuda::lend::RustToCudaProxy
source · pub trait RustToCudaProxy<T>: RustToCuda {
// Required methods
fn from_ref(val: &T) -> &Self;
fn from_mut(val: &mut T) -> &mut Self;
fn into(self) -> T;
}
Required Methods§
fn from_ref(val: &T) -> &Self
fn from_mut(val: &mut T) -> &mut Self
fn into(self) -> T
Object Safety§
This trait is not object safe.