Module mbox::placer [] [src]

Placement-new support.

This allows you to write construct an MBox using the placement-in syntax:

#![feature(placement_in_syntax)]

use mbox::MALLOC;

let b = MALLOC <- 1 + 2 + 3;
assert_eq!(*b, 6);

Constants

MALLOC

The placer for an MBox.