pub trait MemorySize {
// Required method
fn size() -> usize;
}
Expand description
Trait that returns the size of Cuda smart point type memory (returns the number of elements)
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.