pub struct CutWire {
pub name: String,
pub colour: String,
pub diameter: f64,
pub gauge: Option<i32>,
pub cut_length: Scalar,
}Expand description
A wire cut to length, as a bill of materials orders it.
Fields§
§name: String§colour: StringIts colour, #rrggbb.
diameter: f64Its outer diameter, insulation included.
gauge: Option<i32>Its American wire gauge, if it was given by one.
cut_length: ScalarThe length to cut it to. An enclosure, as every measured length is.
Trait Implementations§
impl StructuralPartialEq for CutWire
Auto Trait Implementations§
impl Freeze for CutWire
impl RefUnwindSafe for CutWire
impl Send for CutWire
impl Sync for CutWire
impl Unpin for CutWire
impl UnsafeUnpin for CutWire
impl UnwindSafe for CutWire
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