doc.rust-lang.org
pub type AtomicU32 = Atomic<u32>
An integer type which can be safely shared between threads.
type_alias
core
Stable since 1.34.0
Version 1.100.0-nightly
doc.rust-lang.org
pub type AtomicU16 = Atomic<u16>
An integer type which can be safely shared between threads.
type_alias
core
Stable since 1.34.0
Version 1.100.0-nightly
doc.rust-lang.org
pub type AtomicPtr<T> = Atomic<*mut T>
A raw pointer type which can be safely shared between threads.
type_alias
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub type AtomicIsize = Atomic<isize>
An integer type which can be safely shared between threads.
type_alias
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub type AtomicI8 = Atomic<i8>
An integer type which can be safely shared between threads.
type_alias
core
Stable since 1.34.0
Version 1.100.0-nightly
doc.rust-lang.org
pub type AtomicI64 = Atomic<i64>
An integer type which can be safely shared between threads.
type_alias
core
Stable since 1.34.0
Version 1.100.0-nightly
doc.rust-lang.org
pub type AtomicI32 = Atomic<i32>
An integer type which can be safely shared between threads.
type_alias
core
Stable since 1.34.0
Version 1.100.0-nightly
doc.rust-lang.org
pub type AtomicI16 = Atomic<i16>
An integer type which can be safely shared between threads.
type_alias
core
Stable since 1.34.0
Version 1.100.0-nightly
doc.rust-lang.org
pub type AtomicBool = Atomic<bool>
A boolean type which can be safely shared between threads.
type_alias
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const ATOMIC_USIZE_INIT: AtomicUsize
An AtomicUsize initialized to 0.
constant
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const ATOMIC_ISIZE_INIT: AtomicIsize
An AtomicIsize initialized to 0.
constant
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const ATOMIC_BOOL_INIT: AtomicBool
An AtomicBool initialized to false.
constant
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub mod atomic
Atomic types
module
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub mod sync
Synchronization primitives
module
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub macro stringify!
Stringifies its arguments.
macro
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn trim_start_matches<P>(&self, pat: P) -> &str
Returns a string slice with all prefixes that match a pattern repeatedly removed.
method
core
Stable since 1.30.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn trim_start(&self) -> &str
Returns a string slice with leading whitespace removed.
method
core
Stable since 1.30.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn trim_right_matches<P>(&self, pat: P) -> &str
Returns a string slice with all suffixes that match a pattern repeatedly removed.
method
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn trim_right(&self) -> &str
Returns a string slice with trailing whitespace removed.
method
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub fn trim_matches<P>(&self, pat: P) -> &str
Returns a string slice with all prefixes and suffixes that match a pattern repeatedly removed.
method
core
Stable since 1.0.0
Version 1.100.0-nightly