#[repr(u8)]pub enum RiscvFloatAbi {
Soft = 0,
Single = 2,
Double = 4,
Quad = 6,
}Expand description
RISCV float ABI.
Returned by RiscvFlags::float_abi.
Variants§
Soft = 0
No registers for floating point numbers.
Single = 2
4-byte registers for floating point numbers.
Double = 4
8-byte registers for floating point numbers.
Quad = 6
16-byte registers for floating point numbers.
Trait Implementations§
Source§impl Clone for RiscvFloatAbi
impl Clone for RiscvFloatAbi
Source§fn clone(&self) -> RiscvFloatAbi
fn clone(&self) -> RiscvFloatAbi
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 RiscvFloatAbi
impl Debug for RiscvFloatAbi
Source§impl Hash for RiscvFloatAbi
impl Hash for RiscvFloatAbi
Source§impl Ord for RiscvFloatAbi
impl Ord for RiscvFloatAbi
Source§fn cmp(&self, other: &RiscvFloatAbi) -> Ordering
fn cmp(&self, other: &RiscvFloatAbi) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RiscvFloatAbi
impl PartialEq for RiscvFloatAbi
Source§impl PartialOrd for RiscvFloatAbi
impl PartialOrd for RiscvFloatAbi
impl Copy for RiscvFloatAbi
impl Eq for RiscvFloatAbi
impl StructuralPartialEq for RiscvFloatAbi
Auto Trait Implementations§
impl Freeze for RiscvFloatAbi
impl RefUnwindSafe for RiscvFloatAbi
impl Send for RiscvFloatAbi
impl Sync for RiscvFloatAbi
impl Unpin for RiscvFloatAbi
impl UnwindSafe for RiscvFloatAbi
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