placing 1.0.0

A prototype notation for referentially stable constructors
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[placing::placing]
struct Cat {
    age: u8,
}

#[placing::placing]
impl Cat {
    #[placing]
    fn new(age: u8) -> Box<Self> {
        Box::new()
    }
}

fn main() {}