new

Creates a new atomic integer.

Examples

use std::sync::atomic::AtomicU8;
let atomic_forty_two = AtomicU8::new(42);

Arguments

  • v : u8 - No Documentation 🚧

Returns

  • arg0 : AtomicU8 - No Documentation 🚧