pub struct Path {
pub stations: Vec<Frame>,
pub spans: Vec<Span>,
pub closed: bool,
pub along_normal: bool,
pub station_names: Vec<String>,
pub span_names: Vec<Option<String>>,
}Expand description
What a profile is swept along: its stations, and the spans between
consecutive ones — around to the first again for a closed path (a full
turn), which has as many spans as stations; an open one has one fewer.
Fields§
§stations: Vec<Frame>§spans: Vec<Span>§closed: bool§along_normal: boolWhether the path runs along e1 × e2 of its stations rather than
against it — which way the profile must wind (see the module docs).
station_names: Vec<String>What each station is called in the names of what lies on it: start
and end, or a0, a1, …
span_names: Vec<Option<String>>What each span is called in the names of what it sweeps — q0, q1,
… — or nothing, for a path of one span that needs no telling apart.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Path
impl RefUnwindSafe for Path
impl Send for Path
impl Sync for Path
impl Unpin for Path
impl UnsafeUnpin for Path
impl UnwindSafe for Path
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