Macro canvas_traits::gl_enums

source ยท
macro_rules! gl_enums {
    ($(pub enum $name:ident { $($variant:ident = $mod:ident::$constant:ident,)+ })*) => { ... };
}