#[repr(u8)]pub enum HeightPrecision {
ZeroDecimalPlaces = 0,
OneDecimalPlace = 1,
TwoDecimalPlaces = 2,
}
Expand description
Specifies the precision (number of decimal places) of all returned height values.
Variants§
ZeroDecimalPlaces = 0
Zero decimal places (=“integer precision”) of precision for all height values
Example: 123
OneDecimalPlace = 1
One decimal places of precision for all height values
Example: 123.3
TwoDecimalPlaces = 2
Two decimal places of precision for all height values
Example: 123.34
Trait Implementations§
Source§impl Clone for HeightPrecision
impl Clone for HeightPrecision
Source§fn clone(&self) -> HeightPrecision
fn clone(&self) -> HeightPrecision
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 HeightPrecision
impl Debug for HeightPrecision
Source§impl Default for HeightPrecision
impl Default for HeightPrecision
Source§fn default() -> HeightPrecision
fn default() -> HeightPrecision
Returns the “default value” for a type. Read more
Source§impl PartialEq for HeightPrecision
impl PartialEq for HeightPrecision
Source§impl Serialize for HeightPrecision
impl Serialize for HeightPrecision
impl Copy for HeightPrecision
impl Eq for HeightPrecision
impl StructuralPartialEq for HeightPrecision
Auto Trait Implementations§
impl Freeze for HeightPrecision
impl RefUnwindSafe for HeightPrecision
impl Send for HeightPrecision
impl Sync for HeightPrecision
impl Unpin for HeightPrecision
impl UnwindSafe for HeightPrecision
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.