Skip to main content

NodeExt

Trait NodeExt 

Source
pub trait NodeExt: Node {
    // Provided method
    fn set_value(&mut self, value: Self::Value) { ... }
}
Expand description

NodeExt is an extension trait for the Node trait that provides additional functionality for working with nodes. Super stupid little thing but I got tired of writing out the same code over and over again.

Provided Methods§

Source

fn set_value(&mut self, value: Self::Value)

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<N: Node> NodeExt for N