Skip to main content

Variable

Trait Variable 

Source
pub trait Variable {
    // Required method
    fn name(&self) -> &str;
}

Required Methods§

Source

fn name(&self) -> &str

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<T: AsRef<str>> Variable for T