Skip to main content

with_reference_semantics

Function with_reference_semantics 

Source
pub fn with_reference_semantics<T>(f: impl FnOnce() -> T) -> T
Expand description

Run f with reference semantics forced on this thread (the bootstrap scope).