pub enum RailPath3<'a> {
Cut,
Cubic(CubicBezier3),
Route(&'a Route3),
}Expand description
Position source; orientation is independent. See RailSegment3::new.
Variants§
Cut
An explicit zero-duration discontinuity; permits projection changes.
Cubic(CubicBezier3)
Full cubic, uniformly in polynomial parameter, without tessellation.
Route(&'a Route3)
Full immutable route, uniformly in measured polyline arc distance. A closed route ends at its first point; zero-length nonempty routes work.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for RailPath3<'a>
impl<'a> RefUnwindSafe for RailPath3<'a>
impl<'a> Send for RailPath3<'a>
impl<'a> Sync for RailPath3<'a>
impl<'a> Unpin for RailPath3<'a>
impl<'a> UnwindSafe for RailPath3<'a>
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