pub struct RatioRange {
pub min: f64,
pub max: f64,
}Expand description
An inclusive ratio interval.
Fields§
§min: f64§max: f64Implementations§
Trait Implementations§
Source§impl Clone for RatioRange
impl Clone for RatioRange
Source§fn clone(&self) -> RatioRange
fn clone(&self) -> RatioRange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RatioRange
Source§impl Debug for RatioRange
impl Debug for RatioRange
Source§impl PartialEq for RatioRange
impl PartialEq for RatioRange
impl StructuralPartialEq for RatioRange
Auto Trait Implementations§
impl Freeze for RatioRange
impl RefUnwindSafe for RatioRange
impl Send for RatioRange
impl Sync for RatioRange
impl Unpin for RatioRange
impl UnsafeUnpin for RatioRange
impl UnwindSafe for RatioRange
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