pub struct RangeParam {
pub min: f32,
pub max: f32,
}Expand description
A min/max range parameter that returns a random value when sampled.
Fields§
§min: f32§max: f32Implementations§
Trait Implementations§
Source§impl Clone for RangeParam
impl Clone for RangeParam
Source§fn clone(&self) -> RangeParam
fn clone(&self) -> RangeParam
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RangeParam
impl RefUnwindSafe for RangeParam
impl Send for RangeParam
impl Sync for RangeParam
impl Unpin for RangeParam
impl UnsafeUnpin for RangeParam
impl UnwindSafe for RangeParam
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more