Skip to main content

newtype_id

Macro newtype_id 

Source
macro_rules! newtype_id {
    (
        $(#[$a:meta])*
        $vis:vis struct $name:ident;
    ) => { ... };
    ($name:ident) => { ... };
}
Expand description

Macro to create a newtyped ID that implements Idx.