pub struct Bom {
pub structure: Structure,
pub lines: Vec<Line>,
pub total_mass: Option<Bounded>,
}Expand description
A bill of materials.
Fields§
§structure: Structure§lines: Vec<Line>§total_mass: Option<Bounded>The mass of everything listed (kg) — if every part has a material and every line’s mass could be computed: a total missing a part would mislead.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Bom
Auto Trait Implementations§
impl Freeze for Bom
impl RefUnwindSafe for Bom
impl Send for Bom
impl Sync for Bom
impl Unpin for Bom
impl UnsafeUnpin for Bom
impl UnwindSafe for Bom
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