pub enum SlopeUnits {
Degrees,
Radians,
Percent,
Tangent,
}Expand description
Units for slope output
Variants§
Degrees
Degrees (0-90)
Radians
Radians (0 - pi/2)
Percent
Percent rise (0 - infinity, typically 0-several hundred)
Tangent
Tangent of slope angle (rise/run), same as percent/100
Trait Implementations§
Source§impl Clone for SlopeUnits
impl Clone for SlopeUnits
Source§fn clone(&self) -> SlopeUnits
fn clone(&self) -> SlopeUnits
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SlopeUnits
impl Debug for SlopeUnits
Source§impl Default for SlopeUnits
impl Default for SlopeUnits
Source§fn default() -> SlopeUnits
fn default() -> SlopeUnits
Returns the “default value” for a type. Read more
Source§impl PartialEq for SlopeUnits
impl PartialEq for SlopeUnits
impl Copy for SlopeUnits
impl Eq for SlopeUnits
impl StructuralPartialEq for SlopeUnits
Auto Trait Implementations§
impl Freeze for SlopeUnits
impl RefUnwindSafe for SlopeUnits
impl Send for SlopeUnits
impl Sync for SlopeUnits
impl Unpin for SlopeUnits
impl UnsafeUnpin for SlopeUnits
impl UnwindSafe for SlopeUnits
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