Skip to content

Chapter 3 — Types & Ownership ​

This is where Auto proves it isn't "Rust-like" — it's Rust. Structs, enums, and the ownership/borrow vocabulary map one-to-one, and a2r emits the Rust you'd write by hand.

Dev→Ship
Auto source
Rust (a2r output)
Click "Transpile to Rust" to see the transpiled code.
VM output
No output yet
A struct, a borrowing reader, and an untouched owner

Released under the MIT License.