pub enum WalkingStretch {
Flight,
Run(usize),
}Expand description
The stretch of walking surface a handrail is measured along: a stair
flight, or one run of a ramp by its index in SlopedSurface::runs.
Variants§
Flight
A stair flight, along its nosing line: in one part when straight, in
its straight parts when it turns (StretchPart).
Run(usize)
A ramp’s run, along its surface.
Trait Implementations§
Source§impl Clone for WalkingStretch
impl Clone for WalkingStretch
impl Copy for WalkingStretch
Source§impl Debug for WalkingStretch
impl Debug for WalkingStretch
impl Eq for WalkingStretch
Source§impl Hash for WalkingStretch
impl Hash for WalkingStretch
Source§impl Ord for WalkingStretch
impl Ord for WalkingStretch
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 WalkingStretch
impl PartialEq for WalkingStretch
Source§impl PartialOrd for WalkingStretch
impl PartialOrd for WalkingStretch
impl StructuralPartialEq for WalkingStretch
Auto Trait Implementations§
impl Freeze for WalkingStretch
impl RefUnwindSafe for WalkingStretch
impl Send for WalkingStretch
impl Sync for WalkingStretch
impl Unpin for WalkingStretch
impl UnsafeUnpin for WalkingStretch
impl UnwindSafe for WalkingStretch
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