Function test::bench::black_box [−][src]
pub fn black_box<T>(dummy: T) -> T
🔬 This is a nightly-only experimental API. (
test
)Expand description
__提示 __ 到编译器的标识函数,对于 black_box
可以做什么最大程度地悲观。
有关详细信息,请参见 std::hint::black_box
。