pub enum SliderPatch {
Value(f64),
Enabled(bool),
}Variants§
Trait Implementations§
Source§impl Clone for SliderPatch
impl Clone for SliderPatch
Source§fn clone(&self) -> SliderPatch
fn clone(&self) -> SliderPatch
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 SliderPatch
impl Debug for SliderPatch
Source§impl PartialEq for SliderPatch
impl PartialEq for SliderPatch
Source§fn eq(&self, other: &SliderPatch) -> bool
fn eq(&self, other: &SliderPatch) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SliderPatch
Auto Trait Implementations§
impl Freeze for SliderPatch
impl RefUnwindSafe for SliderPatch
impl Send for SliderPatch
impl Sync for SliderPatch
impl Unpin for SliderPatch
impl UnsafeUnpin for SliderPatch
impl UnwindSafe for SliderPatch
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