Skip to main content

with_context

Function with_context 

Source
pub fn with_context<F, R>(f: F) -> R
where F: FnOnce(&Context) -> R,
Expand description

Access the global context for reading.

ยงPanics

Panics if polyscope has not been initialized.