Enum sp_arithmetic::per_things::SignedRounding
source · pub enum SignedRounding {
High,
Low,
NearestPrefHigh,
NearestPrefLow,
Major,
Minor,
NearestPrefMajor,
NearestPrefMinor,
}
Expand description
The rounding method to use.
Variants§
Trait Implementations§
source§impl Clone for SignedRounding
impl Clone for SignedRounding
source§fn clone(&self) -> SignedRounding
fn clone(&self) -> SignedRounding
Returns a copy 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 SignedRounding
impl Debug for SignedRounding
impl Copy for SignedRounding
Auto Trait Implementations§
impl RefUnwindSafe for SignedRounding
impl Send for SignedRounding
impl Sync for SignedRounding
impl Unpin for SignedRounding
impl UnwindSafe for SignedRounding
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> SaturatedConversion for T
impl<T> SaturatedConversion for T
source§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
source§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of
T
. Read moresource§impl<T, S> UniqueSaturatedInto<T> for S
impl<T, S> UniqueSaturatedInto<T> for S
source§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of
T
.