muse2::input

Trait HasID

Source
pub trait HasID {
    // Required method
    fn get_id(&self) -> &str;
}
Expand description

Indicates that the struct has an ID field

Required Methods§

Source

fn get_id(&self) -> &str

Get a string representation of the struct’s ID

Implementors§