Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

new

Creates a new atomic integer.

Examples

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

Arguments

NameTypeDocumentation
vU64No Documentation 🚧

Returns

NameTypeDocumentation
arg0AtomicU64No Documentation 🚧