Struct perseus::PerseusRoot
source · [−]pub struct PerseusRoot<G: Html> { /* private fields */ }
Expand description
The component that represents the entrypoint at which Perseus will inject itself. You can use this with the .index_view()
method of PerseusApp
to avoid having to create the entrypoint
<div>
manually.
Trait Implementations
sourceimpl<G: Html> Component<G> for PerseusRoot<G>
impl<G: Html> Component<G> for PerseusRoot<G>
Auto Trait Implementations
impl<G> RefUnwindSafe for PerseusRoot<G> where
G: RefUnwindSafe,
impl<G> Send for PerseusRoot<G> where
G: Send,
impl<G> Sync for PerseusRoot<G> where
G: Sync,
impl<G> Unpin for PerseusRoot<G> where
G: Unpin,
impl<G> UnwindSafe for PerseusRoot<G> where
G: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more