pub struct PageProps<'__a> {
pub attrs: Attributes,
pub child: Child<'__a>,
}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))
)Fields§
§attrs: Attributes§child: Child<'__a>Implementations§
Source§impl<'__a> PageProps<'__a>
impl<'__a> PageProps<'__a>
Sourcepub fn builder() -> PagePropsBuilder<'__a>
pub fn builder() -> PagePropsBuilder<'__a>
Returns a PagePropsBuilder with no properties set.
Trait Implementations§
Auto Trait Implementations§
impl<'__a> !RefUnwindSafe for PageProps<'__a>
impl<'__a> !Sync for PageProps<'__a>
impl<'__a> !UnwindSafe for PageProps<'__a>
impl<'__a> Freeze for PageProps<'__a>
impl<'__a> Send for PageProps<'__a>
impl<'__a> Unpin for PageProps<'__a>
impl<'__a> UnsafeUnpin for PageProps<'__a>
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