struct S { a: i32, b: i32 } fn main() { let mut p = Box::new(S {a: 5, b: 6}); p.a = 666; println!("P: a={} b={}", p.a, p.b) }