pub enum HandleShape {
Circle,
Rect {
aspect_ratio: f32,
},
}
Expand description
Shape of the handle for sliders and similar widgets.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for HandleShape
impl Clone for HandleShape
Source§fn clone(&self) -> HandleShape
fn clone(&self) -> HandleShape
Returns a copy of the value. Read more
1.0.0 · 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 HandleShape
impl Debug for HandleShape
Source§impl<'de> Deserialize<'de> for HandleShape
impl<'de> Deserialize<'de> for HandleShape
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
Source§impl PartialEq for HandleShape
impl PartialEq for HandleShape
Source§impl Serialize for HandleShape
impl Serialize for HandleShape
impl Copy for HandleShape
impl StructuralPartialEq for HandleShape
Auto Trait Implementations§
impl Freeze for HandleShape
impl RefUnwindSafe for HandleShape
impl Send for HandleShape
impl Sync for HandleShape
impl Unpin for HandleShape
impl UnwindSafe for HandleShape
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