pub struct JsNumber(pub f64);
Tuple Fields§
§0: f64
Trait Implementations§
source§impl Ord for JsNumber
impl Ord for JsNumber
source§impl PartialEq for JsNumber
impl PartialEq for JsNumber
source§impl PartialOrd for JsNumber
impl PartialOrd for JsNumber
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 Copy for JsNumber
impl Eq for JsNumber
Auto Trait Implementations§
impl RefUnwindSafe for JsNumber
impl Send for JsNumber
impl Sync for JsNumber
impl Unpin for JsNumber
impl UnwindSafe for JsNumber
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