[−][src]Struct sj::Number
Trait Implementations
impl From<i8> for Number
[src]
impl From<i16> for Number
[src]
impl From<i32> for Number
[src]
impl From<i64> for Number
[src]
impl From<i128> for Number
[src]
impl From<isize> for Number
[src]
impl From<u8> for Number
[src]
impl From<u16> for Number
[src]
impl From<u32> for Number
[src]
impl From<u64> for Number
[src]
impl From<u128> for Number
[src]
impl From<usize> for Number
[src]
impl From<f32> for Number
[src]
impl From<f64> for Number
[src]
impl From<Number> for Value
[src]
impl Debug for Number
[src]
impl Display for Number
[src]
impl<'_> TryFrom<&'_ Number> for i8
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(n: &Number) -> Result<Self, Self::Error>
[src]
impl TryFrom<Number> for i8
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(n: Number) -> Result<Self, Self::Error>
[src]
impl<'_> TryFrom<&'_ Number> for i16
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(n: &Number) -> Result<Self, Self::Error>
[src]
impl TryFrom<Number> for i16
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(n: Number) -> Result<Self, Self::Error>
[src]
impl<'_> TryFrom<&'_ Number> for i32
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(n: &Number) -> Result<Self, Self::Error>
[src]
impl TryFrom<Number> for i32
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(n: Number) -> Result<Self, Self::Error>
[src]
impl<'_> TryFrom<&'_ Number> for i64
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(n: &Number) -> Result<Self, Self::Error>
[src]
impl TryFrom<Number> for i64
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(n: Number) -> Result<Self, Self::Error>
[src]
impl<'_> TryFrom<&'_ Number> for i128
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(n: &Number) -> Result<Self, Self::Error>
[src]
impl TryFrom<Number> for i128
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(n: Number) -> Result<Self, Self::Error>
[src]
impl<'_> TryFrom<&'_ Number> for isize
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(n: &Number) -> Result<Self, Self::Error>
[src]
impl TryFrom<Number> for isize
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(n: Number) -> Result<Self, Self::Error>
[src]
impl<'_> TryFrom<&'_ Number> for u8
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(n: &Number) -> Result<Self, Self::Error>
[src]
impl TryFrom<Number> for u8
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(n: Number) -> Result<Self, Self::Error>
[src]
impl<'_> TryFrom<&'_ Number> for u16
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(n: &Number) -> Result<Self, Self::Error>
[src]
impl TryFrom<Number> for u16
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(n: Number) -> Result<Self, Self::Error>
[src]
impl<'_> TryFrom<&'_ Number> for u32
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(n: &Number) -> Result<Self, Self::Error>
[src]
impl TryFrom<Number> for u32
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(n: Number) -> Result<Self, Self::Error>
[src]
impl<'_> TryFrom<&'_ Number> for u64
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(n: &Number) -> Result<Self, Self::Error>
[src]
impl TryFrom<Number> for u64
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(n: Number) -> Result<Self, Self::Error>
[src]
impl<'_> TryFrom<&'_ Number> for u128
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(n: &Number) -> Result<Self, Self::Error>
[src]
impl TryFrom<Number> for u128
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(n: Number) -> Result<Self, Self::Error>
[src]
impl<'_> TryFrom<&'_ Number> for usize
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(n: &Number) -> Result<Self, Self::Error>
[src]
impl TryFrom<Number> for usize
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(n: Number) -> Result<Self, Self::Error>
[src]
impl<'_> TryFrom<&'_ Number> for f32
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(n: &Number) -> Result<Self, Self::Error>
[src]
impl TryFrom<Number> for f32
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(n: Number) -> Result<Self, Self::Error>
[src]
impl<'_> TryFrom<&'_ Number> for f64
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(n: &Number) -> Result<Self, Self::Error>
[src]
impl TryFrom<Number> for f64
[src]
Auto Trait Implementations
impl Unpin for Number
impl Send for Number
impl Sync for Number
impl UnwindSafe for Number
impl RefUnwindSafe for Number
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,