pub enum RangeCommand {
Decrease,
PageDecrease,
PageIncrease,
Increase,
Minimum,
Maximum,
Set(f64),
}Expand description
Finite range proposals. Application state remains application-owned.
Variants§
Implementations§
Source§impl RangeCommand
impl RangeCommand
pub fn slider_key( axis: Orientation, direction: Direction, input: KeyboardInput<'_>, ) -> Option<Self>
Source§impl RangeCommand
impl RangeCommand
Source§impl RangeCommand
impl RangeCommand
Sourcepub fn splitter_key(line: Orientation, input: KeyboardInput<'_>) -> Option<Self>
pub fn splitter_key(line: Orientation, input: KeyboardInput<'_>) -> Option<Self>
The argument is the separator line’s orientation: movement is perpendicular.
pub fn validate(self, range: RangeValue) -> Result<(), Error>
Trait Implementations§
Source§impl Clone for RangeCommand
impl Clone for RangeCommand
impl Copy for RangeCommand
Source§impl Debug for RangeCommand
impl Debug for RangeCommand
Source§impl PartialEq for RangeCommand
impl PartialEq for RangeCommand
impl StructuralPartialEq for RangeCommand
Auto Trait Implementations§
impl Forget for RangeCommand
impl Freeze for RangeCommand
impl RefUnwindSafe for RangeCommand
impl Send for RangeCommand
impl Sync for RangeCommand
impl Unpin for RangeCommand
impl UnsafeUnpin for RangeCommand
impl UnwindSafe for RangeCommand
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