Macro dag::delegate

source ·
macro_rules! delegate {
    {IdConvert { impl $($impl:tt)* } => self.$($t:tt)*} => { ... };
    (IdConvert, $type:ty => self.$($t:tt)*) => { ... };
    {PrefixLookup { impl $($impl:tt)* } => self.$($t:tt)*} => { ... };
    (PrefixLookup, $type:ty => self.$($t:tt)*) => { ... };
    (ToIdSet, $type:ty => self.$($t:tt)*) => { ... };
    (ToSet, $type:ty => self.$($t:tt)*) => { ... };
    (DagAlgorithm, $type:ty => self.$($t:tt)*) => { ... };
    (IdMapSnapshot, $type:ty => self.$($t:tt)*) => { ... };
    (CheckIntegrity, $type:ty => self.$($t:tt)*) => { ... };
    ($name:ident | $name2:ident $(| $name3:ident )*, $type:ty => self.$($t:tt)*) => { ... };
}
Expand description

Macro rules to delegate trait implementations