#[non_exhaustive]pub struct StationSeam {
pub distance: f64,
pub parameter: f64,
pub smooth: bool,
pub exact: bool,
}Expand description
A place inside a curve where two of its pieces meet; see the module documentation.
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.distance: f64Distance from the curve’s start in its station measure: plan distance on an elevated or banked curve, arc length otherwise.
parameter: f64The curve’s own parameter there: the vertex index of a polyline, the knot of a B-spline, the distance itself on every family whose parameter is its measure.
smooth: boolWhether the stored data guarantees one section frame on both sides
(a chain join, an intrinsic law’s seam). false means the frame
MAY jump: evaluate both sides to see whether it does.
exact: boolWhether distance is read from stored data alone (sums of stored
lengths and of segment lengths); false for a quadrature.
Implementations§
Source§impl StationSeam
impl StationSeam
Trait Implementations§
Source§impl Clone for StationSeam
impl Clone for StationSeam
Source§fn clone(&self) -> StationSeam
fn clone(&self) -> StationSeam
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 StationSeam
Source§impl Debug for StationSeam
impl Debug for StationSeam
Source§impl PartialEq for StationSeam
impl PartialEq for StationSeam
impl StructuralPartialEq for StationSeam
Auto Trait Implementations§
impl Freeze for StationSeam
impl RefUnwindSafe for StationSeam
impl Send for StationSeam
impl Sync for StationSeam
impl Unpin for StationSeam
impl UnsafeUnpin for StationSeam
impl UnwindSafe for StationSeam
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