referrerpolicy=no-referrer-when-downgrade

Macro polkadot_node_subsystem::gen::futures::pin_mut

source ·
macro_rules! pin_mut {
    ($($x:ident),* $(,)?) => { ... };
}
Expand description

Pins a value on the stack.

§Example

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