pub struct Runtime { /* private fields */ }Implementations§
Source§impl Runtime
impl Runtime
pub fn new(scheduler: Arc<dyn RuntimeScheduler>) -> Self
pub fn handle(&self) -> RuntimeHandle
pub fn has_updates(&self) -> bool
pub fn needs_frame(&self) -> bool
pub fn set_needs_frame(&self, value: bool)
pub fn frame_clock(&self) -> FrameClock
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Runtime
impl !RefUnwindSafe for Runtime
impl !Send for Runtime
impl !Sync for Runtime
impl Unpin for Runtime
impl !UnwindSafe for Runtime
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