#[non_exhaustive]pub struct HorizontalSeam {
pub previous: EntityId,
pub next: EntityId,
pub distance_along: f64,
pub position: SeamCheck,
}Expand description
One seam between consecutive horizontal segments.
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.previous: EntityIdThe segment that ends at this seam.
next: EntityIdThe segment that starts at this seam.
distance_along: f64Distance along the layout from its first segment to the seam, in
metres: the sum of the preceding SegmentLengths.
position: SeamCheckHow the seam position was checked.
Trait Implementations§
Source§impl Clone for HorizontalSeam
impl Clone for HorizontalSeam
Source§impl Debug for HorizontalSeam
impl Debug for HorizontalSeam
Source§impl PartialEq for HorizontalSeam
impl PartialEq for HorizontalSeam
impl StructuralPartialEq for HorizontalSeam
Auto Trait Implementations§
impl Freeze for HorizontalSeam
impl RefUnwindSafe for HorizontalSeam
impl Send for HorizontalSeam
impl Sync for HorizontalSeam
impl Unpin for HorizontalSeam
impl UnsafeUnpin for HorizontalSeam
impl UnwindSafe for HorizontalSeam
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