pub struct PortPointRow {
pub address: String,
pub port: String,
pub point: String,
pub purpose: String,
pub maps_to: Option<String>,
pub seat: PortSeat,
pub position: [f64; 3],
pub direction: [f64; 3],
}Expand description
One resolved connection point, as the tail publishes it.
Fields§
§address: StringThe part-local address (J1.VCC) — the [SceneMap::ports] key.
port: String§point: String§purpose: String§maps_to: Option<String>The descendant address this point maps to, when it declares one.
seat: PortSeatThe frame this point’s transform was read as an offset IN
(seat_of) — the world frame for a point that names no reference.
Report-only, and deliberately not on PortRecord: a seat is what the
last RUN made of the references, not something the document carries or
a library entry exports. The editor needs it to put a gizmo on the
point, because dragging one in world space has to be written back as an
offset in exactly this frame.
position: [f64; 3]Where the point resolved, in world space (record.point).
direction: [f64; 3]The unit direction it resolved facing (record.direction).
Trait Implementations§
Source§impl Clone for PortPointRow
impl Clone for PortPointRow
Source§impl Debug for PortPointRow
impl Debug for PortPointRow
Source§impl<'de> Deserialize<'de> for PortPointRow
impl<'de> Deserialize<'de> for PortPointRow
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 PortPointRow
impl PartialEq for PortPointRow
Source§impl Serialize for PortPointRow
impl Serialize for PortPointRow
impl StructuralPartialEq for PortPointRow
Auto Trait Implementations§
impl Freeze for PortPointRow
impl RefUnwindSafe for PortPointRow
impl Send for PortPointRow
impl Sync for PortPointRow
impl Unpin for PortPointRow
impl UnsafeUnpin for PortPointRow
impl UnwindSafe for PortPointRow
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