pub enum ElementKind<Message> {
Show 24 variants
Box(BoxProps),
Text(TextProps),
Pane(PaneProps),
Block(BlockProps),
Paragraph(ParagraphProps),
RichText(RichTextProps),
List(ListProps<Message>),
Tabs(TabsProps<Message>),
Gauge(GaugeProps),
Clear(ClearProps),
LineGauge(LineGaugeProps),
Table(TableProps<Message>),
Sparkline(SparklineProps),
BarChart(BarChartProps),
Chart(ChartProps),
Canvas(CanvasProps),
Monthly(MonthlyProps),
ScrollView(ScrollViewProps<Message>),
Scrollbar(ScrollbarProps<Message>),
StreamingText(StreamingTextProps),
Input(InputProps<Message>),
StatusBar(StatusBarProps),
Shell(ShellProps),
Component(ComponentProps<Message>),
}Variants§
Box(BoxProps)
Text(TextProps)
Pane(PaneProps)
Block(BlockProps)
Paragraph(ParagraphProps)
RichText(RichTextProps)
List(ListProps<Message>)
Tabs(TabsProps<Message>)
Gauge(GaugeProps)
Clear(ClearProps)
LineGauge(LineGaugeProps)
Table(TableProps<Message>)
Sparkline(SparklineProps)
BarChart(BarChartProps)
Chart(ChartProps)
Canvas(CanvasProps)
Monthly(MonthlyProps)
ScrollView(ScrollViewProps<Message>)
Scrollbar(ScrollbarProps<Message>)
StreamingText(StreamingTextProps)
Input(InputProps<Message>)
StatusBar(StatusBarProps)
Shell(ShellProps)
Component(ComponentProps<Message>)
Implementations§
Source§impl<Message> ElementKind<Message>
impl<Message> ElementKind<Message>
pub fn child_layout_spec(&self, bounds: Rect) -> ChildLayoutSpec
pub fn capture_runtime_state(&self) -> Option<RuntimeWidgetState>
pub fn restore_runtime_state(&mut self, state: &RuntimeWidgetState) -> bool
pub fn initialize_runtime_state(&mut self)
pub fn intrinsic_height(&self, width: u16, child_heights: &[u16]) -> u16
pub fn intrinsic_width(&self, child_widths: &[u16]) -> u16
pub fn invalidates_self_on_layout_change(&self, style: Style) -> bool
pub fn route_widget_key( &mut self, key: WidgetKey, context: WidgetRouteContext, ) -> Option<WidgetRouteEffect<Message>>
Trait Implementations§
Auto Trait Implementations§
impl<Message> Freeze for ElementKind<Message>
impl<Message> !RefUnwindSafe for ElementKind<Message>
impl<Message> !Send for ElementKind<Message>
impl<Message> !Sync for ElementKind<Message>
impl<Message> Unpin for ElementKind<Message>
impl<Message> UnsafeUnpin for ElementKind<Message>
impl<Message> !UnwindSafe for ElementKind<Message>
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