pub trait IndexNavigable<K, V>where
Self: Sized,{
// Required method
fn index_keypath_segment(index: K) -> KeyPath<Self, V>;
}Expand description
Trait for types that can be indexed with key paths
Required Methods§
fn index_keypath_segment(index: K) -> KeyPath<Self, V>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".