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<'rt, 'bp, G: GlobalEventHandler> Frame<'rt, 'bp, G>
impl<'rt, 'bp, G: GlobalEventHandler> Frame<'rt, 'bp, G>
Sourcepub fn force_unmount_return(self)
pub fn force_unmount_return(self)
Unmount all components and return them to storage
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)
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