Variable

Trait Variable 

Source
pub trait Variable<'a> {
    // Required method
    fn variables(&self) -> impl Iterator<Item = (Cow<'a, str>, String)>;
}

Required Methods§

Source

fn variables(&self) -> impl Iterator<Item = (Cow<'a, str>, String)>

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<'a, T: Variable<'a>> Variable<'a> for &T

Source§

fn variables(&self) -> impl Iterator<Item = (Cow<'a, str>, String)>

Implementors§