[−][src]Struct validators::number::Number
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 From<NumberAny> for Number
[src]
impl From<NumberGteZero> for Number
[src]
fn from(d: NumberGteZero) -> Self
[src]
impl From<NumberGtZero> for Number
[src]
fn from(d: NumberGtZero) -> Self
[src]
impl From<NumberLteZero> for Number
[src]
fn from(d: NumberLteZero) -> Self
[src]
impl From<NumberLtZero> for Number
[src]
fn from(d: NumberLtZero) -> Self
[src]
impl PartialEq<Number> for Number
[src]
impl Clone for Number
[src]
fn clone(&self) -> Number
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for Number
[src]
impl Deref for Number
[src]
impl Display for Number
[src]
impl Debug for Number
[src]
impl Hash for Number
[src]
Auto Trait Implementations
impl Unpin for Number
impl Sync for Number
impl Send for Number
impl RefUnwindSafe for Number
impl UnwindSafe for Number
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
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.
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> Typeable for T where
T: Any,
T: Any,
impl<T> IntoCollection<T> for T
fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
A: Array<Item = T>,
fn mapped<U, F, A>(self, f: F) -> SmallVec<A> where
A: Array<Item = U>,
F: FnMut(T) -> U,
A: Array<Item = U>,
F: FnMut(T) -> U,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T, I> AsResult<T, I> for T where
I: Input,
I: Input,