Skip to main content

with_mapping

Function with_mapping 

Source
pub fn with_mapping<R>(mapping: JavaMapping, body: impl FnOnce() -> R) -> R
Expand description

Run body with mapping in force, and restore what was before — also when body panics.