Trait DirectiveExt

Source
pub trait DirectiveExt: Sized {
    // Required method
    fn into_node(self) -> SyntaxNode<PreprocessorLang>;
}

Required Methods§

Source

fn into_node(self) -> SyntaxNode<PreprocessorLang>

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§

Source§

impl<I: TryFrom<(FileId, SyntaxNode<PreprocessorLang>)> + Debug + Clone> DirectiveExt for DirectiveResult<I>