Macro core::prelude::v1::global_allocator 1.28.0[−][src]
pub macro global_allocator($item : item) {
...
}
Expand description
将属性宏应用于静态以将其注册为分配器。
另请参见 std::alloc::GlobalAlloc
。
pub macro global_allocator($item : item) {
...
}
将属性宏应用于静态以将其注册为分配器。
另请参见 std::alloc::GlobalAlloc
。