pub struct Frame<'rt, 'bp, G> {
pub tree: &'rt mut WidgetTree<'bp>,
pub tabindex: Option<Index>,
/* private fields */
}Fields§
§tree: &'rt mut WidgetTree<'bp>§tabindex: Option<Index>Implementations§
Source§impl<'bp, G> Frame<'_, 'bp, G>where
G: GlobalEventHandler,
impl<'bp, G> Frame<'_, 'bp, G>where
G: GlobalEventHandler,
pub fn components(&mut self) -> Components<'_, '_, 'bp>
pub fn elements(&mut self) -> Children<'_, 'bp>
pub fn wait_for_monitor<B: Backend>( &mut self, backend: &mut B, watcher: Watcher, timeout: Duration, ) -> Result<Watched>
Source§impl<'rt, 'bp, G: GlobalEventHandler> Frame<'rt, 'bp, G>
impl<'rt, 'bp, G: GlobalEventHandler> Frame<'rt, 'bp, G>
pub fn force_rebuild(self) -> Result<()>
pub fn handle_global_event(&mut self, event: Event) -> Option<Event>
pub fn event(&mut self, event: Event)
pub fn init_tree(&mut self) -> Result<()>
pub fn tick<B: Backend>(&mut self, backend: &mut B) -> Result<Duration>
pub fn present<B: Backend>(&mut self, backend: &mut B) -> Duration
pub fn cleanup(&mut self)
Auto Trait Implementations§
impl<'rt, 'bp, G> Freeze for Frame<'rt, 'bp, G>
impl<'rt, 'bp, G> !RefUnwindSafe for Frame<'rt, 'bp, G>
impl<'rt, 'bp, G> !Send for Frame<'rt, 'bp, G>
impl<'rt, 'bp, G> !Sync for Frame<'rt, 'bp, G>
impl<'rt, 'bp, G> Unpin for Frame<'rt, 'bp, G>
impl<'rt, 'bp, G> !UnwindSafe for Frame<'rt, 'bp, G>
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