pub struct WireHarnessSegment {
pub id: String,
pub first_port: String,
pub first_side: PortSide,
pub second_port: String,
pub second_side: PortSide,
pub length: f64,
}Expand description
A network segment: the spline id, its two ports with the PHYSICAL side the wire occupies at each, and its length.
Fields§
§id: String§first_port: String§first_side: PortSide§second_port: String§second_side: PortSide§length: f64Trait Implementations§
Source§impl Clone for WireHarnessSegment
impl Clone for WireHarnessSegment
Source§impl Debug for WireHarnessSegment
impl Debug for WireHarnessSegment
Source§impl<'de> Deserialize<'de> for WireHarnessSegment
impl<'de> Deserialize<'de> for WireHarnessSegment
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for WireHarnessSegment
impl PartialEq for WireHarnessSegment
Source§impl Serialize for WireHarnessSegment
impl Serialize for WireHarnessSegment
impl StructuralPartialEq for WireHarnessSegment
Auto Trait Implementations§
impl Forget for WireHarnessSegment
impl Freeze for WireHarnessSegment
impl RefUnwindSafe for WireHarnessSegment
impl Send for WireHarnessSegment
impl Sync for WireHarnessSegment
impl Unpin for WireHarnessSegment
impl UnsafeUnpin for WireHarnessSegment
impl UnwindSafe for WireHarnessSegment
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