Skip to main content

use_context

Function use_context 

Source
pub fn use_context<T>() -> Option<Context<T>>
where T: Send + Sync + 'static,
Expand description

Reads inherited visual defaults from the current build scope.

Returns None when no provider of this type is present.