[][src]Struct validators::number::Number

pub struct Number { /* fields omitted */ }

Methods

impl Number[src]

pub fn get_number(&self) -> f64[src]

pub fn is_zero(&self) -> bool[src]

pub fn is_positive(&self) -> bool[src]

pub fn is_negative(&self) -> bool[src]

pub fn is_integer(&self) -> bool[src]

pub unsafe fn from_f64_unchecked(number: f64) -> Number[src]

Trait Implementations

impl Validated for Number[src]

impl Eq for Number[src]

impl Clone for Number[src]

impl PartialEq<Number> for Number[src]

impl From<NumberAny> for Number[src]

impl From<NumberGteZero> for Number[src]

impl From<NumberGtZero> for Number[src]

impl From<NumberLteZero> for Number[src]

impl From<NumberLtZero> for Number[src]

impl Hash for Number[src]

impl Deref for Number[src]

type Target = f64

The resulting type after dereferencing.

impl Debug for Number[src]

impl Display for Number[src]

Auto Trait Implementations

impl Send for Number

impl Unpin for Number

impl Sync for Number

impl UnwindSafe for Number

impl RefUnwindSafe for Number

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Typeable for T where
    T: Any

impl<T> IntoCollection<T> for T

impl<T, I> AsResult<T, I> for T where
    I: Input, 

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]