Skip to main content

Node

Trait Node 

Source
pub trait Node: Sized {
    // Required method
    fn apply<V: Visitor>(self, visitor: &mut V) -> Result<Self, Error>;
}

Required Methods§

Source

fn apply<V: Visitor>(self, visitor: &mut V) -> Result<Self, Error>

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.

Implementations on Foreign Types§

Source§

impl Node for (Expression, Expression)

Source§

fn apply<V: Visitor>(self, visitor: &mut V) -> Result<Self, Error>

Source§

impl Node for HashMap<String, Expression>

Source§

fn apply<V: Visitor>(self, visitor: &mut V) -> Result<Self, Error>

Source§

impl<T: Node> Node for Option<T>

Source§

fn apply<V: Visitor>(self, visitor: &mut V) -> Result<Self, Error>

Source§

impl<T: Node> Node for Box<T>

Source§

fn apply<V: Visitor>(self, visitor: &mut V) -> Result<Self, Error>

Source§

impl<T: Node> Node for Vec<T>

Source§

fn apply<V: Visitor>(self, visitor: &mut V) -> Result<Self, Error>

Implementors§