pub enum FloatFormat {
Float,
Double,
LongDouble,
TS18661Format(TS18661FloatType),
}
Expand description
Floating point literal format specified by the suffix
(C11 6.4.4.2)
Variants§
Float
f
suffix
Double
no suffix
LongDouble
l
suffix
TS18661Format(TS18661FloatType)
ISO/IEC TS 18661-2:2015
df
, dd
, dl
suffixes
ISO/IEC TS 18661-3:2015
fN
, fNx
, dN
, dNx
suffixes
Trait Implementations§
Source§impl Clone for FloatFormat
impl Clone for FloatFormat
Source§fn clone(&self) -> FloatFormat
fn clone(&self) -> FloatFormat
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 FloatFormat
impl Debug for FloatFormat
Source§impl Hash for FloatFormat
impl Hash for FloatFormat
Source§impl PartialEq for FloatFormat
impl PartialEq for FloatFormat
impl Eq for FloatFormat
impl StructuralPartialEq for FloatFormat
Auto Trait Implementations§
impl Freeze for FloatFormat
impl RefUnwindSafe for FloatFormat
impl Send for FloatFormat
impl Sync for FloatFormat
impl Unpin for FloatFormat
impl UnwindSafe for FloatFormat
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