doc.rust-lang.org
attribute #[test]
Attribute macro applied to a function to turn it into a unit test.
attribute
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
attribute #[global_allocator]
Attribute macro applied to a static to register it as a global allocator.
attribute
core
Stable since 1.28.0
Version 1.100.0-nightly
doc.rust-lang.org
attribute #[derive]
Attribute macro used to apply derive macros.
attribute
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub macro assert_matches!
Asserts that an expression matches the provided pattern.
macro
core
Stable since 1.96.0
Version 1.100.0-nightly
doc.rust-lang.org
pub macro line!
Expands to the line number on which it was invoked.
macro
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const MIN: usize
The smallest value that can be represented by this integer type. Use usize::MIN instead.
constant
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const MAX: usize
The largest value that can be represented by this integer type. Use usize::MAX instead.
constant
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub mod usize
Redundant constants module for the usize primitive type.
module
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const MIN: u8
The smallest value that can be represented by this integer type. Use u8::MIN instead.
constant
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const MAX: u8
The largest value that can be represented by this integer type. Use u8::MAX instead.
constant
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub mod u8
Redundant constants module for the u8 primitive type.
module
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const MIN: u64
The smallest value that can be represented by this integer type. Use u64::MIN instead.
constant
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const MAX: u64
The largest value that can be represented by this integer type. Use u64::MAX instead.
constant
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub mod u64
Redundant constants module for the u64 primitive type.
module
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const MIN: u32
The smallest value that can be represented by this integer type. Use u32::MIN instead.
constant
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const MAX: u32
The largest value that can be represented by this integer type. Use u32::MAX instead.
constant
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub mod u32
Redundant constants module for the u32 primitive type.
module
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const MIN: u16
The smallest value that can be represented by this integer type. Use u16::MIN instead.
constant
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub const MAX: u16
The largest value that can be represented by this integer type. Use u16::MAX instead.
constant
core
Stable since 1.0.0
Version 1.100.0-nightly
doc.rust-lang.org
pub mod u16
Redundant constants module for the u16 primitive type.
module
core
Stable since 1.0.0
Version 1.100.0-nightly