[][src]Struct rg3d_core::numeric_range::NumericRange

pub struct NumericRange<T> {
    pub min: T,
    pub max: T,
}

Fields

min: Tmax: T

Methods

impl<T> NumericRange<T> where
    T: Copy + Sized + SampleUniform + Send + PartialOrd
[src]

pub fn new(min: T, max: T) -> Self[src]

pub fn random(&self) -> T[src]

Trait Implementations

impl<T> Clone for NumericRange<T> where
    T: Clone + Copy
[src]

impl<T> Copy for NumericRange<T> where
    T: Copy
[src]

impl<T> Default for NumericRange<T> where
    T: Default
[src]

impl<T> Visit for NumericRange<T> where
    T: Copy + Clone + Default + Visit
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for NumericRange<T> where
    T: RefUnwindSafe

impl<T> Send for NumericRange<T> where
    T: Send

impl<T> Sync for NumericRange<T> where
    T: Sync

impl<T> Unpin for NumericRange<T> where
    T: Unpin

impl<T> UnwindSafe for NumericRange<T> where
    T: UnwindSafe

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> Visit for T where
    T: FieldData + 'static, 
[src]