#[non_exhaustive]pub struct VerticalSeam {
pub previous: EntityId,
pub next: EntityId,
pub distance_along: f64,
pub incoming_gradient: f64,
pub outgoing_gradient: f64,
pub kind: VerticalSeamKind,
}Expand description
One seam between two consecutive vertical segments of positive length.
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: f64StartDistAlong of next, in metres.
incoming_gradient: f64The previous segment’s EndGradient.
outgoing_gradient: f64The next segment’s StartGradient.
kind: VerticalSeamKindWhether the grade continues or breaks.
Trait Implementations§
Source§impl Clone for VerticalSeam
impl Clone for VerticalSeam
Source§impl Debug for VerticalSeam
impl Debug for VerticalSeam
Source§impl PartialEq for VerticalSeam
impl PartialEq for VerticalSeam
impl StructuralPartialEq for VerticalSeam
Auto Trait Implementations§
impl Freeze for VerticalSeam
impl RefUnwindSafe for VerticalSeam
impl Send for VerticalSeam
impl Sync for VerticalSeam
impl Unpin for VerticalSeam
impl UnsafeUnpin for VerticalSeam
impl UnwindSafe for VerticalSeam
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