Constant std::sync::ONCE_INIT1.0.0 [] [src]

pub const ONCE_INIT: Once = <Once>::new()

Initialization value for static Once values.

Examples

use std::sync::{Once, ONCE_INIT};

static START: Once = ONCE_INIT;Run