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

The name of the component (for use in debug mode). In release mode, this will default to "UnnamedComponent" Read more

The type of the properties passed to the component.

Create a new component with an instance of the properties.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.