type str = [u8]; struct Foo { a: usize, b: &str } fn Foo.new(a: usize, b: &str) -> Foo { return Foo { a: a, b: b }; } fn main() -> i32 { let obj = Foo::new(); }