[−][src]Trait smithy_types::Component
The main trait of Smithy.
Required Methods
Provided Methods
fn handle_post_render(&mut self)
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
fn handle_ui_event(&mut self, _event: &UiEvent, _path: &Path) -> EventHandled
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
Implementations on Foreign Types
impl<'_> Component for &'_ str
[src]
impl<'_> Component for &'_ str
fn render(&mut self) -> Node
[src]
fn render(&mut self) -> Node
fn handle_post_render(&mut self)
[src]
fn handle_post_render(&mut self)
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
[src]
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
fn handle_ui_event(&mut self, _event: &UiEvent, _path: &Path) -> EventHandled
[src]
fn handle_ui_event(&mut self, _event: &UiEvent, _path: &Path) -> EventHandled
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
[src]
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
impl Component for String
[src]
impl Component for String
fn render(&mut self) -> Node
[src]
fn render(&mut self) -> Node
fn handle_post_render(&mut self)
[src]
fn handle_post_render(&mut self)
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
[src]
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
fn handle_ui_event(&mut self, _event: &UiEvent, _path: &Path) -> EventHandled
[src]
fn handle_ui_event(&mut self, _event: &UiEvent, _path: &Path) -> EventHandled
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
[src]
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
impl<'_> Component for &'_ String
[src]
impl<'_> Component for &'_ String
fn render(&mut self) -> Node
[src]
fn render(&mut self) -> Node
fn handle_post_render(&mut self)
[src]
fn handle_post_render(&mut self)
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
[src]
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
fn handle_ui_event(&mut self, _event: &UiEvent, _path: &Path) -> EventHandled
[src]
fn handle_ui_event(&mut self, _event: &UiEvent, _path: &Path) -> EventHandled
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
[src]
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
impl<T> Component for Vec<T> where
T: Component,
[src]
impl<T> Component for Vec<T> where
T: Component,
fn render(&mut self) -> Node
[src]
fn render(&mut self) -> Node
fn handle_ui_event(&mut self, event: &UiEvent, path: &Path) -> EventHandled
[src]
fn handle_ui_event(&mut self, event: &UiEvent, path: &Path) -> EventHandled
fn handle_post_render(&mut self)
[src]
fn handle_post_render(&mut self)
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
[src]
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
[src]
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
impl<T> Component for Option<T> where
T: Component,
[src]
impl<T> Component for Option<T> where
T: Component,
fn render(&mut self) -> Node
[src]
fn render(&mut self) -> Node
fn handle_ui_event(&mut self, event: &UiEvent, path: &Path) -> EventHandled
[src]
fn handle_ui_event(&mut self, event: &UiEvent, path: &Path) -> EventHandled
fn handle_post_render(&mut self)
[src]
fn handle_post_render(&mut self)
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
[src]
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
[src]
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
impl Component for bool
[src]
impl Component for bool
fn render(&mut self) -> Node
[src]
fn render(&mut self) -> Node
fn handle_post_render(&mut self)
[src]
fn handle_post_render(&mut self)
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
[src]
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
fn handle_ui_event(&mut self, _event: &UiEvent, _path: &Path) -> EventHandled
[src]
fn handle_ui_event(&mut self, _event: &UiEvent, _path: &Path) -> EventHandled
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
[src]
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
impl Component for char
[src]
impl Component for char
fn render(&mut self) -> Node
[src]
fn render(&mut self) -> Node
fn handle_post_render(&mut self)
[src]
fn handle_post_render(&mut self)
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
[src]
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
fn handle_ui_event(&mut self, _event: &UiEvent, _path: &Path) -> EventHandled
[src]
fn handle_ui_event(&mut self, _event: &UiEvent, _path: &Path) -> EventHandled
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
[src]
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
impl Component for i8
[src]
impl Component for i8
fn render(&mut self) -> Node
[src]
fn render(&mut self) -> Node
fn handle_post_render(&mut self)
[src]
fn handle_post_render(&mut self)
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
[src]
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
fn handle_ui_event(&mut self, _event: &UiEvent, _path: &Path) -> EventHandled
[src]
fn handle_ui_event(&mut self, _event: &UiEvent, _path: &Path) -> EventHandled
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
[src]
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
impl Component for i16
[src]
impl Component for i16
fn render(&mut self) -> Node
[src]
fn render(&mut self) -> Node
fn handle_post_render(&mut self)
[src]
fn handle_post_render(&mut self)
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
[src]
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
fn handle_ui_event(&mut self, _event: &UiEvent, _path: &Path) -> EventHandled
[src]
fn handle_ui_event(&mut self, _event: &UiEvent, _path: &Path) -> EventHandled
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
[src]
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
impl Component for i32
[src]
impl Component for i32
fn render(&mut self) -> Node
[src]
fn render(&mut self) -> Node
fn handle_post_render(&mut self)
[src]
fn handle_post_render(&mut self)
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
[src]
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
fn handle_ui_event(&mut self, _event: &UiEvent, _path: &Path) -> EventHandled
[src]
fn handle_ui_event(&mut self, _event: &UiEvent, _path: &Path) -> EventHandled
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
[src]
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
impl Component for i64
[src]
impl Component for i64
fn render(&mut self) -> Node
[src]
fn render(&mut self) -> Node
fn handle_post_render(&mut self)
[src]
fn handle_post_render(&mut self)
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
[src]
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
fn handle_ui_event(&mut self, _event: &UiEvent, _path: &Path) -> EventHandled
[src]
fn handle_ui_event(&mut self, _event: &UiEvent, _path: &Path) -> EventHandled
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
[src]
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
impl Component for isize
[src]
impl Component for isize
fn render(&mut self) -> Node
[src]
fn render(&mut self) -> Node
fn handle_post_render(&mut self)
[src]
fn handle_post_render(&mut self)
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
[src]
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
fn handle_ui_event(&mut self, _event: &UiEvent, _path: &Path) -> EventHandled
[src]
fn handle_ui_event(&mut self, _event: &UiEvent, _path: &Path) -> EventHandled
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
[src]
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
impl Component for u8
[src]
impl Component for u8
fn render(&mut self) -> Node
[src]
fn render(&mut self) -> Node
fn handle_post_render(&mut self)
[src]
fn handle_post_render(&mut self)
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
[src]
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
fn handle_ui_event(&mut self, _event: &UiEvent, _path: &Path) -> EventHandled
[src]
fn handle_ui_event(&mut self, _event: &UiEvent, _path: &Path) -> EventHandled
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
[src]
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
impl Component for u16
[src]
impl Component for u16
fn render(&mut self) -> Node
[src]
fn render(&mut self) -> Node
fn handle_post_render(&mut self)
[src]
fn handle_post_render(&mut self)
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
[src]
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
fn handle_ui_event(&mut self, _event: &UiEvent, _path: &Path) -> EventHandled
[src]
fn handle_ui_event(&mut self, _event: &UiEvent, _path: &Path) -> EventHandled
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
[src]
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
impl Component for u32
[src]
impl Component for u32
fn render(&mut self) -> Node
[src]
fn render(&mut self) -> Node
fn handle_post_render(&mut self)
[src]
fn handle_post_render(&mut self)
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
[src]
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
fn handle_ui_event(&mut self, _event: &UiEvent, _path: &Path) -> EventHandled
[src]
fn handle_ui_event(&mut self, _event: &UiEvent, _path: &Path) -> EventHandled
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
[src]
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
impl Component for u64
[src]
impl Component for u64
fn render(&mut self) -> Node
[src]
fn render(&mut self) -> Node
fn handle_post_render(&mut self)
[src]
fn handle_post_render(&mut self)
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
[src]
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
fn handle_ui_event(&mut self, _event: &UiEvent, _path: &Path) -> EventHandled
[src]
fn handle_ui_event(&mut self, _event: &UiEvent, _path: &Path) -> EventHandled
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
[src]
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
impl Component for usize
[src]
impl Component for usize
fn render(&mut self) -> Node
[src]
fn render(&mut self) -> Node
fn handle_post_render(&mut self)
[src]
fn handle_post_render(&mut self)
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
[src]
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
fn handle_ui_event(&mut self, _event: &UiEvent, _path: &Path) -> EventHandled
[src]
fn handle_ui_event(&mut self, _event: &UiEvent, _path: &Path) -> EventHandled
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
[src]
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
impl Component for f32
[src]
impl Component for f32
fn render(&mut self) -> Node
[src]
fn render(&mut self) -> Node
fn handle_post_render(&mut self)
[src]
fn handle_post_render(&mut self)
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
[src]
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
fn handle_ui_event(&mut self, _event: &UiEvent, _path: &Path) -> EventHandled
[src]
fn handle_ui_event(&mut self, _event: &UiEvent, _path: &Path) -> EventHandled
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
[src]
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
impl Component for f64
[src]
impl Component for f64
fn render(&mut self) -> Node
[src]
fn render(&mut self) -> Node
fn handle_post_render(&mut self)
[src]
fn handle_post_render(&mut self)
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
[src]
fn handle_ref_assignment(&mut self, _path_so_far: Vec<usize>)
fn handle_ui_event(&mut self, _event: &UiEvent, _path: &Path) -> EventHandled
[src]
fn handle_ui_event(&mut self, _event: &UiEvent, _path: &Path) -> EventHandled
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
[src]
fn handle_window_event(&mut self, _event: &WindowEvent) -> EventHandled
Implementors
impl<'a> Component for SmithyComponent<'a>
[src]
impl<'a> Component for SmithyComponent<'a>
fn handle_ui_event(&mut self, event: &UiEvent, path: &Path) -> EventHandled
[src]
fn handle_ui_event(&mut self, event: &UiEvent, path: &Path) -> EventHandled
fn handle_window_event(&mut self, event: &WindowEvent) -> EventHandled
[src]
fn handle_window_event(&mut self, event: &WindowEvent) -> EventHandled
fn render(&mut self) -> Node
[src]
fn render(&mut self) -> Node
fn handle_post_render(&mut self)
[src]
fn handle_post_render(&mut self)
fn handle_ref_assignment(&mut self, path_so_far: Vec<usize>)
[src]
fn handle_ref_assignment(&mut self, path_so_far: Vec<usize>)