Enum esp32c3_hal::esp_riscv_rt::riscv::register::fcsr::RoundingMode
pub enum RoundingMode {
RoundToNearestEven,
RoundTowardsZero,
RoundDown,
RoundUp,
RoundToNearestMaxMagnitude,
Invalid,
}
Expand description
Rounding Mode
Variants§
Trait Implementations§
§impl Clone for RoundingMode
impl Clone for RoundingMode
§fn clone(&self) -> RoundingMode
fn clone(&self) -> RoundingMode
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 more§impl Debug for RoundingMode
impl Debug for RoundingMode
§impl PartialEq<RoundingMode> for RoundingMode
impl PartialEq<RoundingMode> for RoundingMode
§fn eq(&self, other: &RoundingMode) -> bool
fn eq(&self, other: &RoundingMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RoundingMode
impl Eq for RoundingMode
impl StructuralEq for RoundingMode
impl StructuralPartialEq for RoundingMode
Auto Trait Implementations§
impl RefUnwindSafe for RoundingMode
impl Send for RoundingMode
impl Sync for RoundingMode
impl Unpin for RoundingMode
impl UnwindSafe for RoundingMode
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