pub trait NodeRef: Copy {
type ParentKind: ParentKind;
// Required methods
fn kind(&self) -> Self::ParentKind;
fn set_index(&mut self, index: usize);
}
Required Associated Types§
type ParentKind: ParentKind
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.