pub struct SliderResponse {
pub changed: bool,
pub value: f64,
pub supported: bool,
}Expand description
Result of a slider widget.
Fields§
§changed: boolWhether the value changed this frame.
value: f64The current value.
supported: boolWhether the active adapter actually rendered this widget.
Implementations§
Trait Implementations§
Source§impl Clone for SliderResponse
impl Clone for SliderResponse
Source§fn clone(&self) -> SliderResponse
fn clone(&self) -> SliderResponse
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 moreSource§impl Debug for SliderResponse
impl Debug for SliderResponse
Source§impl Default for SliderResponse
impl Default for SliderResponse
Source§fn default() -> SliderResponse
fn default() -> SliderResponse
Returns the “default value” for a type. Read more
Source§impl PartialEq for SliderResponse
impl PartialEq for SliderResponse
Source§fn eq(&self, other: &SliderResponse) -> bool
fn eq(&self, other: &SliderResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SliderResponse
impl StructuralPartialEq for SliderResponse
Auto Trait Implementations§
impl Freeze for SliderResponse
impl RefUnwindSafe for SliderResponse
impl Send for SliderResponse
impl Sync for SliderResponse
impl Unpin for SliderResponse
impl UnsafeUnpin for SliderResponse
impl UnwindSafe for SliderResponse
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