pub unsafe trait ScalarAllocator {
type Scalar: Clone + Eq;
type AutoTraits;
// Required method
fn alloc() -> Self::Scalar;
}Expand description
Required Associated Types§
Sourcetype AutoTraits
type AutoTraits
This type’s autotraits restrictions that will
be applied to both Dynamic and DynamicToken
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.