[−][src]Struct boa::value::RcBigInt
Methods from Deref<Target = BigInt>
pub fn to_string_radix(&self, radix: u32) -> String
[src]
Convert bigint to string with radix.
pub fn to_f64(&self) -> f64
[src]
Converts the BigInt to a f64 type.
Returns std::f64::INFINITY
if the BigInt is too big.
Trait Implementations
impl Clone for RcBigInt
[src]
impl Debug for RcBigInt
[src]
impl Deref for RcBigInt
[src]
type Target = BigInt
The resulting type after dereferencing.
pub fn deref(&self) -> &Self::Target
[src]
impl Display for RcBigInt
[src]
impl Eq for RcBigInt
[src]
impl Finalize for RcBigInt
[src]
impl From<BigInt> for RcBigInt
[src]
impl From<RcBigInt> for Value
[src]
impl From<RcBigInt> for Numeric
[src]
impl Hash for RcBigInt
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for RcBigInt
[src]
pub fn cmp(&self, other: &RcBigInt) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<RcBigInt> for RcBigInt
[src]
impl PartialOrd<RcBigInt> for RcBigInt
[src]
pub fn partial_cmp(&self, other: &RcBigInt) -> Option<Ordering>
[src]
pub fn lt(&self, other: &RcBigInt) -> bool
[src]
pub fn le(&self, other: &RcBigInt) -> bool
[src]
pub fn gt(&self, other: &RcBigInt) -> bool
[src]
pub fn ge(&self, other: &RcBigInt) -> bool
[src]
impl StructuralEq for RcBigInt
[src]
impl StructuralPartialEq for RcBigInt
[src]
impl Trace for RcBigInt
[src]
Auto Trait Implementations
impl !RefUnwindSafe for RcBigInt
[src]
impl !Send for RcBigInt
[src]
impl !Sync for RcBigInt
[src]
impl Unpin for RcBigInt
[src]
impl UnwindSafe for RcBigInt
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> NativeObject for T where
T: Any + Debug + Trace,
[src]
T: Any + Debug + Trace,
pub fn as_any(&Self) -> &(dyn Any + 'static)
[src]
pub fn as_mut_any(&mut Self) -> &mut (dyn Any + 'static)
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,