pub struct page { /* private fields */ }Expand description
Standard container for a panel page, owning its max width, padding, and vertical rhythm.
page(
page_header(
page_title("Users")
page_description("Manage your users.")
page_actions((create_button))
)
page_content((table_view))
)Trait Implementations§
Source§impl Component for page
impl Component for page
Source§type Props<'__props> = PageProps<'__props>
type Props<'__props> = PageProps<'__props>
The component’s properties. The lifetime covers data borrowed from
the caller.
Source§fn render<'__a, '__props>(
self,
cx: &'__a Cx,
props: Self::Props<'__props>,
) -> impl Future<Output = Result<impl View>> + Send + '__awhere
Self: '__a,
Self::Props<'__props>: '__a,
'__props: '__a,
fn render<'__a, '__props>(
self,
cx: &'__a Cx,
props: Self::Props<'__props>,
) -> impl Future<Output = Result<impl View>> + Send + '__awhere
Self: '__a,
Self::Props<'__props>: '__a,
'__props: '__a,
Renders the component to a [
View]. Read morefn props_builder<'a>() -> <Self::Props<'a> as Props>::Builder
Auto Trait Implementations§
impl Freeze for page
impl RefUnwindSafe for page
impl Send for page
impl Sync for page
impl Unpin for page
impl UnsafeUnpin for page
impl UnwindSafe for page
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