pub struct RuntimeSetup;Expand description
The app context value marking a router as set up for the browser runtime.
RouterBuilderRuntimeExt::runtime registers it, and the script
component checks for it, so a page that includes the runtime script on
a router missing the runtime’s routes fails loudly instead of breaking
in the browser.
Trait Implementations§
Source§impl Clone for RuntimeSetup
impl Clone for RuntimeSetup
Source§fn clone(&self) -> RuntimeSetup
fn clone(&self) -> RuntimeSetup
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RuntimeSetup
Auto Trait Implementations§
impl Freeze for RuntimeSetup
impl RefUnwindSafe for RuntimeSetup
impl Send for RuntimeSetup
impl Sync for RuntimeSetup
impl Unpin for RuntimeSetup
impl UnsafeUnpin for RuntimeSetup
impl UnwindSafe for RuntimeSetup
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