Macro lazy_static_include::lazy_static_include_bytes [−][src]
macro_rules! lazy_static_include_bytes { ( @impl $name:ident ) => { ... }; ( @inner $name:ident, $path:expr ) => { ... }; ( @unit $(#[$attr: meta])* ($v:tt) $name:ident => $path:expr ) => { ... }; ( @unit $(#[$attr: meta])* (pub$(($($v:tt)+))?) $name:ident => $path:expr ) => { ... }; ( $($(#[$attr: meta])* $v:vis $name:ident => $path:expr),* $(,)* ) => { ... }; }
Includes a file as a reference to a byte array (&'static [u8]
).
The file is located relative to the directory containing the manifest of your package.