pub enum FloatingPointType {
Float(FloatType),
Double(DoubleType),
}
Expand description
Parses unrestricted? float|double
Variants§
Float(FloatType)
Double(DoubleType)
Trait Implementations§
Source§impl Clone for FloatingPointType
impl Clone for FloatingPointType
Source§fn clone(&self) -> FloatingPointType
fn clone(&self) -> FloatingPointType
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 FloatingPointType
impl Debug for FloatingPointType
Source§impl From<DoubleType> for FloatingPointType
impl From<DoubleType> for FloatingPointType
Source§fn from(x: DoubleType) -> Self
fn from(x: DoubleType) -> Self
Converts to this type from the input type.
Source§impl From<FloatType> for FloatingPointType
impl From<FloatType> for FloatingPointType
Source§impl Hash for FloatingPointType
impl Hash for FloatingPointType
Source§impl Ord for FloatingPointType
impl Ord for FloatingPointType
Source§fn cmp(&self, other: &FloatingPointType) -> Ordering
fn cmp(&self, other: &FloatingPointType) -> 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<'a> Parse<'a> for FloatingPointType
impl<'a> Parse<'a> for FloatingPointType
Source§impl PartialEq for FloatingPointType
impl PartialEq for FloatingPointType
Source§impl PartialOrd for FloatingPointType
impl PartialOrd for FloatingPointType
impl Copy for FloatingPointType
impl Eq for FloatingPointType
impl StructuralPartialEq for FloatingPointType
Auto Trait Implementations§
impl Freeze for FloatingPointType
impl RefUnwindSafe for FloatingPointType
impl Send for FloatingPointType
impl Sync for FloatingPointType
impl Unpin for FloatingPointType
impl UnwindSafe for FloatingPointType
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