macro_rules! import {
($path:literal) => { ... };
($path:literal, $($imports:ident),*) => { ... };
(pub $path:literal, $($imports:ident),*) => { ... };
($path:path, $($imports:ident),*) => { ... };
(pub $path:path, $($imports:ident),*) => { ... };
($c:expr, $($imports:expr),*) => { ... };
($c:expr) => { ... };
}Expand description
import!(“bytes”, a, b, c); import!(“bytes”); import!(“bytes::”); import!(pub “bytes::”);