InputNode

Trait InputNode 

Source
pub trait InputNode: Clone {
    // Required methods
    fn id(&self) -> u64;
    fn id_str(&self) -> Option<&str>;
}

Required Methods§

Source

fn id(&self) -> u64

Source

fn id_str(&self) -> Option<&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.

Implementations on Foreign Types§

Source§

impl InputNode for &str

Source§

fn id(&self) -> u64

Source§

fn id_str(&self) -> Option<&str>

Source§

impl InputNode for u64

Source§

fn id(&self) -> u64

Source§

fn id_str(&self) -> Option<&str>

Source§

impl InputNode for String

Source§

fn id(&self) -> u64

Source§

fn id_str(&self) -> Option<&str>

Implementors§