pub struct PartData {
pub rows: Vec<[String; 8]>,
pub totals: [String; 4],
pub adj_nonzero: bool,
}Expand description
One part’s formatted rows + totals, ready to place on the form.
Fields§
§rows: Vec<[String; 8]>Each row’s 8 column strings (a..h); an empty string means “leave that cell blank”.
totals: [String; 4]Totals row: (d) proceeds, (e) cost, (g) adjustment, (h) gain — as display strings.
adj_nonzero: boolWhether the (g) adjustment total is non-zero (else that cell stays blank).
Auto Trait Implementations§
impl Freeze for PartData
impl RefUnwindSafe for PartData
impl Send for PartData
impl Sync for PartData
impl Unpin for PartData
impl UnsafeUnpin for PartData
impl UnwindSafe for PartData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more