Enum egui::WidgetType
source · pub enum WidgetType {
Show 17 variants
Label,
Link,
TextEdit,
Button,
Checkbox,
RadioButton,
RadioGroup,
SelectableLabel,
ComboBox,
Slider,
DragValue,
ColorButton,
ImageButton,
CollapsingHeader,
ProgressIndicator,
Window,
Other,
}
Expand description
The different types of built-in widgets in egui
Variants§
Label
Link
e.g. a hyperlink
TextEdit
Button
Checkbox
RadioButton
RadioGroup
A group of radio buttons.
SelectableLabel
ComboBox
Slider
DragValue
ColorButton
ImageButton
CollapsingHeader
ProgressIndicator
Window
Other
If you cannot fit any of the above slots.
If this is something you think should be added, file an issue.
Trait Implementations§
source§impl Clone for WidgetType
impl Clone for WidgetType
source§fn clone(&self) -> WidgetType
fn clone(&self) -> WidgetType
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 WidgetType
impl Debug for WidgetType
source§impl PartialEq for WidgetType
impl PartialEq for WidgetType
impl Copy for WidgetType
impl Eq for WidgetType
impl StructuralPartialEq for WidgetType
Auto Trait Implementations§
impl Freeze for WidgetType
impl RefUnwindSafe for WidgetType
impl Send for WidgetType
impl Sync for WidgetType
impl Unpin for WidgetType
impl UnwindSafe for WidgetType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)