iface repeat { fn get() -> A; } impl of repeat for @A { fn get() -> A { *self } } fn repeater(v: @A) -> repeat { // Note: owned kind is not necessary as A appears in the iface type v as repeat:: // No } fn main() { let x = &3; let y = repeater(@x); assert *x == *(y.get()); }