fn new_id(&mut self) {
		use std::sync::atomic::{AtomicU64, Ordering};

		static COUNTER: AtomicU64 = AtomicU64::new(1);
		self.id = COUNTER.fetch_add(1, Ordering::Relaxed);
	}
// Set new element ID on self
Set new element ID on self
Set new element ID on self
fn new_id(&mut self) {
		use std::sync::atomic::{AtomicU64, Ordering};
		static COUNTER: AtomicU64 = AtomicU64::new(1);
		self.id = COUNTER.fetch_add(1, Ordering::Relaxed);
	}
fn new_id ( & mut self ) { use std :: sync :: atomic :: { AtomicU64 , Ordering } ; static COUNTER : AtomicU64 = AtomicU64 :: new ( 1 ) ; self . id = COUNTER . fetch_add ( 1 , Ordering :: Relaxed ) ; }
Set new element ID on self
Set new element ID on self
&mut self