Static rustc_allocator::ALLOCATOR_METHODS
[−]
[src]
pub static ALLOCATOR_METHODS: &[AllocatorMethod]=
&[AllocatorMethod{name: "alloc", inputs: &[AllocatorTy::Layout], output: AllocatorTy::ResultPtr,}, AllocatorMethod{name: "oom", inputs: &[AllocatorTy::AllocErr], output: AllocatorTy::Bang,}, AllocatorMethod{name: "dealloc", inputs: &[AllocatorTy::Ptr, AllocatorTy::Layout], output: AllocatorTy::Unit,}, AllocatorMethod{name: "usable_size", inputs: &[AllocatorTy::LayoutRef], output: AllocatorTy::UsizePair,}, AllocatorMethod{name: "realloc", inputs: &[AllocatorTy::Ptr, AllocatorTy::Layout, AllocatorTy::Layout], output: AllocatorTy::ResultPtr,}, AllocatorMethod{name: "alloc_zeroed", inputs: &[AllocatorTy::Layout], output: AllocatorTy::ResultPtr,}, AllocatorMethod{name: "alloc_excess", inputs: &[AllocatorTy::Layout], output: AllocatorTy::ResultExcess,}, AllocatorMethod{name: "realloc_excess", inputs: &[AllocatorTy::Ptr, AllocatorTy::Layout, AllocatorTy::Layout], output: AllocatorTy::ResultExcess,}, AllocatorMethod{name: "grow_in_place", inputs: &[AllocatorTy::Ptr, AllocatorTy::Layout, AllocatorTy::Layout], output: AllocatorTy::ResultUnit,}, AllocatorMethod{name: "shrink_in_place", inputs: &[AllocatorTy::Ptr, AllocatorTy::Layout, AllocatorTy::Layout], output: AllocatorTy::ResultUnit,}]
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?