pub struct Runtime<G> { /* private fields */ }Expand description
Anathema runtime
Implementations§
Source§impl<G: GlobalEventHandler> Runtime<G>
impl<G: GlobalEventHandler> Runtime<G>
pub fn with_frame<B, F>(&mut self, backend: &mut B, f: F) -> Result<()>
pub fn run<B: Backend>(&mut self, backend: &mut B) -> Result<()>
pub fn next_frame<'frame, 'bp>( &'bp mut self, tree: &'frame mut WidgetTree<'bp>, attribute_storage: &'frame mut AttributeStorage<'bp>, ) -> Result<Frame<'frame, 'bp, G>>
Auto Trait Implementations§
impl<G> Freeze for Runtime<G>where
G: Freeze,
impl<G> !RefUnwindSafe for Runtime<G>
impl<G> !Send for Runtime<G>
impl<G> !Sync for Runtime<G>
impl<G> Unpin for Runtime<G>where
G: Unpin,
impl<G> UnsafeUnpin for Runtime<G>where
G: UnsafeUnpin,
impl<G> !UnwindSafe for Runtime<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