pub const fn with_spin_count(spin_count: u32) -> Self {
        Self {
            init_spin_count: Some(spin_count),
            init: AtomicUsize::new(UNINITIALIZED),
            inner: POISONABLE_ZEROED,
        }
    }
/// Creates a new CriticalStatic which will be initialized with the provided spin_count.
Creates a new CriticalStatic which will be initialized with the provided spin_count.
Creates a new CriticalStatic which will be initialized with the provided spin_count .
pub const fn with_spin_count(spin_count: u32) -> Self {
        Self {
            init_spin_count: Some(spin_count),
            init: AtomicUsize::new(UNINITIALIZED),
            inner: POISONABLE_ZEROED,
        }
    }
pub const fn with_spin_count ( spin_count : u32 ) -> Self { Self { init_spin_count : Some ( spin_count ) , init : AtomicUsize :: new ( UNINITIALIZED ) , inner : POISONABLE_ZEROED , } }
Creates a new CriticalStatic which will be initialized with the provided spin_count.
Creates a new CriticalStatic which will be initialized with the provided spin_count .
spin_count
u32