Trait NodeRef

Source
pub trait NodeRef: Copy {
    type ParentKind: ParentKind;

    // Required methods
    fn kind(&self) -> Self::ParentKind;
    fn set_index(&mut self, index: usize);
}

Required Associated Types§

Required Methods§

Source

fn kind(&self) -> Self::ParentKind

Source

fn set_index(&mut self, index: usize)

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.

Implementors§