Function freya::prelude::has_context
pub fn has_context<T>() -> Option<T>where
T: 'static + Clone,
Expand description
Check if the current scope has a context
pub fn has_context<T>() -> Option<T>where
T: 'static + Clone,
Check if the current scope has a context