define_id_getter

Macro define_id_getter 

Source
macro_rules! define_id_getter {
    ($t:ty, $id_ty:ty) => { ... };
}
Expand description

Implement the HasID trait for the given type, assuming it has a field called id