pub struct PortContactRow {
pub body: String,
pub end: String,
pub axis: [f64; 3],
pub wire_end: [f64; 3],
pub other_end: [f64; 3],
pub seats_origin: bool,
pub rule: String,
}Expand description
The contact body as the tail’s report shows it, so a wrong default end is
visible next to the one-click flip (reverseDirection).
Fields§
§body: StringThe solid named by contactBody.
end: String"+axis" or "-axis": which end the wire took, in the axis’s
canonical sense.
axis: [f64; 3]The canonical axis direction.
wire_end: [f64; 3]Where the wire attaches.
other_end: [f64; 3]The other end.
seats_origin: boolWhether the body SEATED the origin (no pointRef). With a pointRef
the body is reported, but the origin is the reference’s.
rule: String"axis", "caps" or "direction": the rule that found the ends.
Trait Implementations§
Source§impl Clone for PortContactRow
impl Clone for PortContactRow
Source§impl Debug for PortContactRow
impl Debug for PortContactRow
Source§impl<'de> Deserialize<'de> for PortContactRow
impl<'de> Deserialize<'de> for PortContactRow
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 PortContactRow
impl PartialEq for PortContactRow
Source§impl Serialize for PortContactRow
impl Serialize for PortContactRow
impl StructuralPartialEq for PortContactRow
Auto Trait Implementations§
impl Forget for PortContactRow
impl Freeze for PortContactRow
impl Move for PortContactRow
impl RefUnwindSafe for PortContactRow
impl Send for PortContactRow
impl Sync for PortContactRow
impl Unpin for PortContactRow
impl UnsafeUnpin for PortContactRow
impl UnwindSafe for PortContactRow
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