pub enum StairLength {
Slope,
HorizontalPlusVertical,
}Expand description
How a climb through a stair or ramp is measured.
Variants§
Slope
Along the slope: sqrt(h² + (f·v)²) for a climb h long in plan
and v high, with the vertical factor f.
HorizontalPlusVertical
The horizontal length plus the rise times the vertical factor:
h + f·v.
Implementations§
Trait Implementations§
Source§impl Clone for StairLength
impl Clone for StairLength
impl Copy for StairLength
Source§impl Debug for StairLength
impl Debug for StairLength
impl Eq for StairLength
Source§impl PartialEq for StairLength
impl PartialEq for StairLength
impl StructuralPartialEq for StairLength
Auto Trait Implementations§
impl Freeze for StairLength
impl RefUnwindSafe for StairLength
impl Send for StairLength
impl Sync for StairLength
impl Unpin for StairLength
impl UnsafeUnpin for StairLength
impl UnwindSafe for StairLength
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