Toy layout engine written in Rust