pub enum FloatSize {
Float,
Double,
LongDouble,
Float32,
Float64,
Float32x,
Float64x,
Float128,
}Expand description
Rank of a standard floating type.
Variants§
Float
float
Double
double
LongDouble
long double
Float32
TS 18661-3’s _Float32, which is float.
Float64
_Float64, which is double.
Float32x
_Float32x, which is double.
Float64x
_Float64x, which is whatever long double is.
Float128
_Float128 (and GCC’s __float128): binary128, which has no Rust type.
It may be named — in a prototype, a typedef, a pointer — but sema
refuses every value of it.
Implementations§
Trait Implementations§
impl Copy for FloatSize
impl Eq for FloatSize
impl StructuralPartialEq for FloatSize
Auto Trait Implementations§
impl Freeze for FloatSize
impl RefUnwindSafe for FloatSize
impl Send for FloatSize
impl Sync for FloatSize
impl Unpin for FloatSize
impl UnsafeUnpin for FloatSize
impl UnwindSafe for FloatSize
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