[][src]Macro heim_runtime::pin

macro_rules! pin {
    ($($x:ident),* $(,)?) => { ... };
}

Pins a value on the stack.

Example

let foo = Foo { /* ... */ };
pin_mut!(foo);
let _: Pin<&mut Foo> = foo;