diff options
author | ClementTsang <cjhtsang@uwaterloo.ca> | 2022-01-02 22:47:50 -0500 |
---|---|---|
committer | ClementTsang <cjhtsang@uwaterloo.ca> | 2022-01-02 22:47:54 -0500 |
commit | 11a4d24d524cecdb18e60da896fd16e1173ecfa9 (patch) | |
tree | 499ec4a8457e35bb79c2a5948853d5f22d3c70ed /src/tuine/component/mod.rs | |
parent | 40a984e137b1bdde0cc6d2d316c15f133a9e0624 (diff) |
Rename view_context to build_context
Diffstat (limited to 'src/tuine/component/mod.rs')
-rw-r--r-- | src/tuine/component/mod.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/tuine/component/mod.rs b/src/tuine/component/mod.rs index 90713c5e..74946505 100644 --- a/src/tuine/component/mod.rs +++ b/src/tuine/component/mod.rs @@ -22,15 +22,6 @@ use super::{Bounds, DrawContext, Element, Event, LayoutNode, Size, StateContext, #[allow(unused_variables)] #[enum_dispatch] pub trait TmpComponent<Message> { - /// Builds as component into an [`Element`](super::Element). - #[track_caller] - fn build(self, ctx: ()) -> Element<Message> - where - Self: Sized, - { - todo!() - } - /// Draws the component. fn draw<Backend>( &mut self, state_ctx: &mut StateContext<'_>, draw_ctx: &DrawContext<'_>, |