[][src]Struct stdweb::Number

pub struct Number(_);

A type representing a JavaScript number.

Trait Implementations

impl JsSerialize for Number[src]

impl TryFrom<i64> for Number[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<u64> for Number[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<usize> for Number[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<i8> for Number[src]

type Error = Void

The type returned in the event of a conversion error.

impl TryFrom<i16> for Number[src]

type Error = Void

The type returned in the event of a conversion error.

impl TryFrom<i32> for Number[src]

type Error = Void

The type returned in the event of a conversion error.

impl TryFrom<u8> for Number[src]

type Error = Void

The type returned in the event of a conversion error.

impl TryFrom<u16> for Number[src]

type Error = Void

The type returned in the event of a conversion error.

impl TryFrom<u32> for Number[src]

type Error = Void

The type returned in the event of a conversion error.

impl TryFrom<f32> for Number[src]

type Error = Void

The type returned in the event of a conversion error.

impl TryFrom<f64> for Number[src]

type Error = Void

The type returned in the event of a conversion error.

impl TryFrom<Number> for i8[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Number> for i16[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Number> for i32[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Number> for u8[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Number> for u16[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Number> for i64[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Number> for u32[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Number> for u64[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Number> for usize[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Number> for f64[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl AsRef<Number> for Number[src]

impl From<i8> for Number[src]

impl From<i16> for Number[src]

impl From<i32> for Number[src]

impl From<u8> for Number[src]

impl From<u16> for Number[src]

impl From<u32> for Number[src]

impl From<f32> for Number[src]

impl From<f64> for Number[src]

impl From<Number> for f64[src]

impl Clone for Number[src]

impl Copy for Number[src]

impl PartialEq<Number> for Value[src]

impl<'a> PartialEq<&'a Number> for Value[src]

impl<'a> PartialEq<Number> for &'a Value[src]

impl PartialEq<Value> for Number[src]

impl<'a> PartialEq<&'a Value> for Number[src]

impl<'a> PartialEq<Value> for &'a Number[src]

impl PartialEq<Number> for Number[src]

impl PartialEq<i8> for Number[src]

impl PartialEq<i16> for Number[src]

impl PartialEq<i32> for Number[src]

impl PartialEq<i64> for Number[src]

impl PartialEq<u8> for Number[src]

impl PartialEq<u16> for Number[src]

impl PartialEq<u32> for Number[src]

impl PartialEq<u64> for Number[src]

impl PartialEq<usize> for Number[src]

impl PartialEq<f32> for Number[src]

impl PartialEq<f64> for Number[src]

impl PartialEq<Number> for u8[src]

impl PartialEq<Number> for u16[src]

impl PartialEq<Number> for u32[src]

impl PartialEq<Number> for u64[src]

impl PartialEq<Number> for usize[src]

impl PartialEq<Number> for i8[src]

impl PartialEq<Number> for i16[src]

impl PartialEq<Number> for i32[src]

impl PartialEq<Number> for i64[src]

impl PartialEq<Number> for f32[src]

impl PartialEq<Number> for f64[src]

impl Debug for Number[src]

impl<'de> Deserializer<'de> for Number[src]

type Error = ConversionError

The error type that can be returned if some error occurs during deserialization. Read more

impl Serialize for Number[src]

impl<'de> Deserialize<'de> for Number[src]

Auto Trait Implementations

impl Send for Number

impl Sync for Number

impl Unpin for Number

impl UnwindSafe for Number

impl RefUnwindSafe for Number

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]