Trait Pointer
pub trait Pointer<D, const RANK: usize>:
Sized
+ Copy
+ Clone
+ Dtype
+ AddOffsets<i32, RANK, Self::I32Tensor>
+ Addwhere
D: Dtype,{
type I32Tensor: I32Tensor<RANK>;
}Expand description
A device pointer to elements of dtype D. A Pointer is itself a Dtype (so it can be
stored in tensors), but has no BITS requirement.
Required Associated Types§
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.