pub struct Rs2OptionRange {
pub min: f32,
pub max: f32,
pub step: f32,
pub default: f32,
}
Expand description
The range of available values of a supported option.
Fields§
§min: f32
The minimum value which will be accepted for this option
max: f32
The maximum value which will be accepted for this option
step: f32
The granularity of options which accept discrete values, or zero if the option accepts continuous values
default: f32
The default value of the option
Auto Trait Implementations§
impl Freeze for Rs2OptionRange
impl RefUnwindSafe for Rs2OptionRange
impl Send for Rs2OptionRange
impl Sync for Rs2OptionRange
impl Unpin for Rs2OptionRange
impl UnwindSafe for Rs2OptionRange
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