pub enum RangeShape {
Square,
RampUp,
RampDown,
Triangle,
Round,
Smooth,
}Expand description
How selection rises and falls across a Range selector’s range.
Variants§
Square
Fully selected inside the range, partly at fractional ends.
RampUp
Rising from the start to the end.
RampDown
Falling from the start to the end.
Triangle
Rising to the middle, falling after it.
Round
A half circle over the range.
Smooth
The triangle eased by smoothstep.
Trait Implementations§
Source§impl Clone for RangeShape
impl Clone for RangeShape
impl Copy for RangeShape
Source§impl Debug for RangeShape
impl Debug for RangeShape
Source§impl Default for RangeShape
impl Default for RangeShape
Source§impl<'de> Deserialize<'de> for RangeShape
impl<'de> Deserialize<'de> for RangeShape
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RangeShape
Source§impl PartialEq for RangeShape
impl PartialEq for RangeShape
Source§impl Serialize for RangeShape
impl Serialize for RangeShape
impl StructuralPartialEq for RangeShape
Auto Trait Implementations§
impl Freeze for RangeShape
impl RefUnwindSafe for RangeShape
impl Send for RangeShape
impl Sync for RangeShape
impl Unpin for RangeShape
impl UnsafeUnpin for RangeShape
impl UnwindSafe for RangeShape
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