pub enum WalkingEnd {
FlightBottom,
FlightTop,
RunBottom(usize),
RunTop(usize),
}Expand description
One end of a stair flight or of a ramp’s run.
A flight’s end is placed along the direction its end tread climbs: the flight’s own for a straight flight, the direction square to the end tread’s nosing for a turning flight, whose landing positions are then projections onto that direction in plan, never arc lengths along its walking line. A turning flight ending on a winder has no such direction, and a service refuses that end.
Variants§
FlightBottom
Where a flight starts, in front of its first riser.
FlightTop
Where a flight arrives, beyond its last riser.
RunBottom(usize)
The lower end of a ramp’s run, by its index in
SlopedSurface::runs.
RunTop(usize)
The upper end of a ramp’s run, by its index.
Trait Implementations§
Source§impl Clone for WalkingEnd
impl Clone for WalkingEnd
impl Copy for WalkingEnd
Source§impl Debug for WalkingEnd
impl Debug for WalkingEnd
impl Eq for WalkingEnd
Source§impl Hash for WalkingEnd
impl Hash for WalkingEnd
Source§impl Ord for WalkingEnd
impl Ord for WalkingEnd
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for WalkingEnd
impl PartialEq for WalkingEnd
Source§impl PartialOrd for WalkingEnd
impl PartialOrd for WalkingEnd
impl StructuralPartialEq for WalkingEnd
Auto Trait Implementations§
impl Freeze for WalkingEnd
impl RefUnwindSafe for WalkingEnd
impl Send for WalkingEnd
impl Sync for WalkingEnd
impl Unpin for WalkingEnd
impl UnsafeUnpin for WalkingEnd
impl UnwindSafe for WalkingEnd
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