pub enum LineKind {
Part {
file: String,
parameters: String,
material: Option<String>,
thickness: Vec<f64>,
unit_mass: Option<Bounded>,
total_mass: Option<Bounded>,
error: Option<String>,
},
Wire {
cable: String,
gauge: Option<i32>,
diameter: f64,
colour: String,
cut_length: Bounded,
total_length: Bounded,
},
}Expand description
What a line of a bill of materials is.
Variants§
Part
A part, or a sub-assembly.
Fields
Wire
A wire of a routed harness, cut to length.
Fields
Trait Implementations§
impl StructuralPartialEq for LineKind
Auto Trait Implementations§
impl Freeze for LineKind
impl RefUnwindSafe for LineKind
impl Send for LineKind
impl Sync for LineKind
impl Unpin for LineKind
impl UnsafeUnpin for LineKind
impl UnwindSafe for LineKind
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