Skip to main content

with_static_this

Function with_static_this 

Source
pub fn with_static_this<R>(recv: &Value, f: impl FnOnce() -> R) -> R
Expand description

Run f with recv recorded as the receiver of a builtin static call.