pub struct SliderVisualState {
pub value: f32,
pub min: f32,
pub max: f32,
pub normalized_value: f32,
pub orientation: Orientation,
pub hovered: bool,
pub dragging: bool,
pub focused: bool,
pub enabled: bool,
}Fields§
§value: f32§min: f32§max: f32§normalized_value: f32§orientation: Orientation§hovered: bool§dragging: bool§focused: bool§enabled: boolImplementations§
Trait Implementations§
Source§impl Clone for SliderVisualState
impl Clone for SliderVisualState
Source§fn clone(&self) -> SliderVisualState
fn clone(&self) -> SliderVisualState
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 SliderVisualState
Source§impl Debug for SliderVisualState
impl Debug for SliderVisualState
Source§impl PartialEq for SliderVisualState
impl PartialEq for SliderVisualState
impl StructuralPartialEq for SliderVisualState
Auto Trait Implementations§
impl Freeze for SliderVisualState
impl RefUnwindSafe for SliderVisualState
impl Send for SliderVisualState
impl Sync for SliderVisualState
impl Unpin for SliderVisualState
impl UnsafeUnpin for SliderVisualState
impl UnwindSafe for SliderVisualState
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