pub trait Binary: Sealed + Copy {
const TYPE_TAG: TypedArrayType;
}
Expand description
A marker trait for all possible element types of binary buffers.
This trait can only be implemented within the Neon library.
Required Associated Constants§
Sourceconst TYPE_TAG: TypedArrayType
const TYPE_TAG: TypedArrayType
The internal Node-API enum value for this binary type.
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.