pub enum Float {
Half,
Single(f32),
Double(f64),
Quadruple,
X86_FP80,
PPC_FP128,
}
Expand description
All of these Float
variants should have data associated with them, but
Rust only has f32
and f64
floating-point types, and furthermore,
it’s not clear how to get 16-, 80-, or 128-bit FP constant values through
the LLVM C API (the getters seem to only be exposed in the C++ API?)
Variants§
Trait Implementations§
source§impl PartialEq<Float> for Float
impl PartialEq<Float> for Float
impl StructuralPartialEq for Float
Auto Trait Implementations§
impl RefUnwindSafe for Float
impl Send for Float
impl Sync for Float
impl Unpin for Float
impl UnwindSafe for Float
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