pub enum WidgetRole {
Show 28 variants
Unknown,
Button,
ListItem,
Tab,
TextSpan,
CodeBlock,
CodeLine,
TodoItem,
StatusIndicator,
ScrollbarThumb,
Link,
Panel,
Pane,
Region,
Scrollbar,
Status,
Text,
Toggle,
Tooltip,
Transcript,
TranscriptRow,
BoardColumn,
BoardCard,
Effect,
CommandPaletteEntry,
ModelRow,
RuntimeDiagnostic,
Custom(String),
}Variants§
Unknown
Button
ListItem
Tab
TextSpan
CodeBlock
CodeLine
TodoItem
StatusIndicator
ScrollbarThumb
Link
Panel
Pane
Region
Scrollbar
Status
Text
Toggle
Tooltip
Transcript
TranscriptRow
BoardColumn
BoardCard
Effect
CommandPaletteEntry
ModelRow
RuntimeDiagnostic
Custom(String)
Trait Implementations§
Source§impl Clone for WidgetRole
impl Clone for WidgetRole
Source§fn clone(&self) -> WidgetRole
fn clone(&self) -> WidgetRole
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 WidgetRole
impl Debug for WidgetRole
Source§impl Default for WidgetRole
impl Default for WidgetRole
Source§fn default() -> WidgetRole
fn default() -> WidgetRole
Returns the “default value” for a type. Read more
impl Eq for WidgetRole
Source§impl Hash for WidgetRole
impl Hash for WidgetRole
Source§impl PartialEq for WidgetRole
impl PartialEq for WidgetRole
Source§fn eq(&self, other: &WidgetRole) -> bool
fn eq(&self, other: &WidgetRole) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WidgetRole
Auto Trait Implementations§
impl Freeze for WidgetRole
impl RefUnwindSafe for WidgetRole
impl Send for WidgetRole
impl Sync for WidgetRole
impl Unpin for WidgetRole
impl UnsafeUnpin for WidgetRole
impl UnwindSafe for WidgetRole
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