Skip to main content

with_context_mut

Function with_context_mut 

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

Access the global context for writing.

ยงPanics

Panics if polyscope has not been initialized.