Skip to main content

NodePathExt

Trait NodePathExt 

Source
pub trait NodePathExt {
    // Required methods
    fn render(&self, context: impl GraphContext) -> String;
    fn nested_render(&self, context: impl GraphContext) -> String;
    fn to_nested_symbol(
        &self,
        context: impl GraphContext,
        base_path: &BasePath,
    ) -> Option<SymbolInformation>;
}

Required Methods§

Source

fn render(&self, context: impl GraphContext) -> String

Source

fn nested_render(&self, context: impl GraphContext) -> String

Source

fn to_nested_symbol( &self, context: impl GraphContext, base_path: &BasePath, ) -> Option<SymbolInformation>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl NodePathExt for NodePath

Source§

fn render(&self, context: impl GraphContext) -> String

Source§

fn nested_render(&self, context: impl GraphContext) -> String

Source§

fn to_nested_symbol( &self, context: impl GraphContext, base_path: &BasePath, ) -> Option<SymbolInformation>

Implementors§