IdName

Trait IdName 

Source
pub trait IdName {
    // Required method
    fn name(&self) -> String;
}
Expand description

Useful for Ids that need a literal String representation (such as uniforms)

Required Methods§

Source

fn name(&self) -> String

Implementations on Foreign Types§

Source§

impl IdName for &'static str

Source§

fn name(&self) -> String

Source§

impl IdName for String

Source§

fn name(&self) -> String

Implementors§