#[repr(u16)]pub enum WidgetKind {
Show 39 variants
Column = 1,
Row = 2,
Box = 3,
Text = 4,
TextField = 5,
Button = 6,
Spacer = 7,
LazyColumn = 8,
ScrollColumn = 9,
Image = 10,
Icon = 11,
Checkbox = 12,
RadioButton = 13,
Switch = 14,
Slider = 15,
ProgressIndicator = 16,
Divider = 17,
Card = 18,
Surface = 19,
Dialog = 20,
Menu = 21,
Tabs = 22,
TopAppBar = 23,
LazyRow = 24,
Tooltip = 25,
Canvas = 26,
DatePicker = 27,
TimePicker = 28,
Dropdown = 29,
Navigation = 30,
NavigationItem = 31,
Sheet = 32,
Scaffold = 33,
ScaffoldSlot = 34,
LazyGrid = 35,
FileDropTarget = 36,
Badge = 40,
SelectionContainer = 41,
LinearProgressIndicator = 100,
}Variants§
Column = 1
Row = 2
Box = 3
Text = 4
TextField = 5
Button = 6
Spacer = 7
LazyColumn = 8
ScrollColumn = 9
Image = 10
Icon = 11
Checkbox = 12
RadioButton = 13
Switch = 14
Slider = 15
ProgressIndicator = 16
Divider = 17
Card = 18
Surface = 19
Dialog = 20
Menu = 21
Tabs = 22
TopAppBar = 23
LazyRow = 24
Tooltip = 25
Canvas = 26
DatePicker = 27
TimePicker = 28
Dropdown = 29
Sheet = 32
Scaffold = 33
ScaffoldSlot = 34
LazyGrid = 35
FileDropTarget = 36
Badge = 40
SelectionContainer = 41
LinearProgressIndicator = 100
Trait Implementations§
Source§impl Clone for WidgetKind
impl Clone for WidgetKind
impl Copy for WidgetKind
Source§impl Debug for WidgetKind
impl Debug for WidgetKind
impl Eq for WidgetKind
Source§impl From<WidgetKind> for u16
impl From<WidgetKind> for u16
Source§fn from(value: WidgetKind) -> Self
fn from(value: WidgetKind) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WidgetKind
impl PartialEq for WidgetKind
impl StructuralPartialEq for WidgetKind
Auto Trait Implementations§
impl Freeze for WidgetKind
impl RefUnwindSafe for WidgetKind
impl Send for WidgetKind
impl Sync for WidgetKind
impl Unpin for WidgetKind
impl UnsafeUnpin for WidgetKind
impl UnwindSafe for WidgetKind
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,
impl<T> DependencyElement for T
Source§impl<T> InitializeFromFunction<T> for T
impl<T> InitializeFromFunction<T> for T
Source§fn initialize_from_function(f: fn() -> T) -> T
fn initialize_from_function(f: fn() -> T) -> T
Create an instance of this type from an initialization function
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<Ret> SpawnIfAsync<(), Ret> for Ret
impl<Ret> SpawnIfAsync<(), Ret> for Ret
Source§impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
Source§fn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
Source§impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
Source§fn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.