pub unsafe trait IsPathForArray<Array>: ArrayPath { }
Expand description
Used to check whether this field path is valid for Array
.
§Safety
Implementors must ensure that <Self as ArrayPath>::INDEX
is in bounds for
the Array
type parameter.
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.