pub enum XsDouble {
F64(f64),
I64(i64),
}
Expand description
enum representing more safely xs:double values
if possible we parse them into an i64 and if the value is e.g. provided with a . we use the f64
Variants§
Trait Implementations§
source§impl PartialEq for XsDouble
impl PartialEq for XsDouble
source§impl PartialOrd for XsDouble
impl PartialOrd for XsDouble
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for XsDouble
Auto Trait Implementations§
impl RefUnwindSafe for XsDouble
impl Send for XsDouble
impl Sync for XsDouble
impl Unpin for XsDouble
impl UnwindSafe for XsDouble
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