[−][src]Enum cortex_m::register::fpscr::RMode
Rounding mode
Variants
Round to Nearest (RN) mode. This is the reset value.
Round towards Plus Infinity (RP) mode.
Round towards Minus Infinity (RM) mode.
Round towards Zero (RZ) mode.
Implementations
impl RMode
[src]
pub fn is_nearest(self) -> bool
[src]
Is Nearest the current rounding mode?
pub fn is_plus_infinity(self) -> bool
[src]
Is Plus Infinity the current rounding mode?
pub fn is_minus_infinity(self) -> bool
[src]
Is Minus Infinity the current rounding mode?
pub fn is_zero(self) -> bool
[src]
Is Zero the current rounding mode?
Trait Implementations
impl Clone for RMode
[src]
fn clone(&self) -> RMode
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for RMode
[src]
impl Debug for RMode
[src]
impl Eq for RMode
[src]
impl PartialEq<RMode> for RMode
[src]
impl StructuralEq for RMode
[src]
impl StructuralPartialEq for RMode
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,