Macro dilib::get_scoped
source · [−]macro_rules! get_scoped {
($scoped_type:ty) => { ... };
($scoped_type:ty, $name:expr) => { ... };
(trait $trait_type:ident $(<$($generic:ident),+>)?) => { ... };
(trait $trait_type:ident $(<$($generic:ident),+>)?, $name:expr) => { ... };
}Expand description
Returns a scoped value from the global Container or None if is not in the container.