Enum egui::style::HandleShape
source · 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 PartialEq for HandleShape
impl PartialEq for HandleShape
source§fn eq(&self, other: &HandleShape) -> bool
fn eq(&self, other: &HandleShape) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for HandleShape
impl StructuralPartialEq for HandleShape
Auto Trait Implementations§
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