Trait TreeItem

Source
pub trait TreeItem: Clone + Debug {
    const DELIMITER: char;

    // Required methods
    fn id(&self) -> Uuid;
    fn short_name(&self) -> &str;
    fn path(&self) -> Vec<&str>;
}

Required Associated Constants§

Required Methods§

Source

fn id(&self) -> Uuid

Source

fn short_name(&self) -> &str

Source

fn path(&self) -> Vec<&str>

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§