[][src]Macro pin_utils::pin_mut

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

Pins a value on the stack.

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