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
High
Low
NearestPrefHigh
NearestPrefLow
Major
Minor
NearestPrefMajor
NearestPrefMinor
Trait Implementations
sourceimpl Clone for SignedRounding
impl Clone for SignedRounding
sourcefn clone(&self) -> SignedRounding
fn clone(&self) -> SignedRounding
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
sourcefn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
sourcefn 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 moresourceimpl<T, S> UniqueSaturatedInto<T> for Swhere
T: Bounded,
S: TryInto<T>,
impl<T, S> UniqueSaturatedInto<T> for Swhere
T: Bounded,
S: TryInto<T>,
sourcefn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of
T
.