#[non_exhaustive]pub struct ResolvedPlacement {
pub transform: Transform3,
pub station: ResolvedStation,
pub exact: bool,
}Expand description
A node placed at a station (#264), resolved.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.transform: Transform3The rigid motion from the source’s local coordinates: local x,
y, z onto the station’s oriented tangent, left lateral and up,
the local origin onto ResolvedStation::point.
station: ResolvedStationThe station the node is placed at.
exact: boolWhether the frame is exact, rounding aside: the basis is a line
(axiolid_reference::station::station_frame_is_exact2 and
station_frame_is_exact3), itself placed, if at all, in exact
frames; on a composite basis (#285), every piece up to and
including the one the station is read on is such a line. Otherwise
the frame is the exact curve’s at a distance read by an estimate
(the arc-length inverse, quadrature), and nothing placed in it is
reported exact; placement_accuracy bounds its error (#405).
Trait Implementations§
Source§impl Clone for ResolvedPlacement
impl Clone for ResolvedPlacement
Source§fn clone(&self) -> ResolvedPlacement
fn clone(&self) -> ResolvedPlacement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ResolvedPlacement
Source§impl Debug for ResolvedPlacement
impl Debug for ResolvedPlacement
Source§impl PartialEq for ResolvedPlacement
impl PartialEq for ResolvedPlacement
impl StructuralPartialEq for ResolvedPlacement
Auto Trait Implementations§
impl Freeze for ResolvedPlacement
impl RefUnwindSafe for ResolvedPlacement
impl Send for ResolvedPlacement
impl Sync for ResolvedPlacement
impl Unpin for ResolvedPlacement
impl UnsafeUnpin for ResolvedPlacement
impl UnwindSafe for ResolvedPlacement
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