pub struct DocumentProps<'__a> {
pub interactive: bool,
pub theme: usize,
pub title: String,
pub child: Child<'__a>,
}Expand description
HTML shell shared by every page.
Fields§
§interactive: bool§theme: usize§title: String§child: Child<'__a>Implementations§
Source§impl<'__a> DocumentProps<'__a>
impl<'__a> DocumentProps<'__a>
Sourcepub fn builder() -> DocumentPropsBuilder<'__a, interactive, theme, title, child>
pub fn builder() -> DocumentPropsBuilder<'__a, interactive, theme, title, child>
Returns a DocumentPropsBuilder with no properties set.
Trait Implementations§
Auto Trait Implementations§
impl<'__a> !RefUnwindSafe for DocumentProps<'__a>
impl<'__a> !Sync for DocumentProps<'__a>
impl<'__a> !UnwindSafe for DocumentProps<'__a>
impl<'__a> Freeze for DocumentProps<'__a>
impl<'__a> Send for DocumentProps<'__a>
impl<'__a> Unpin for DocumentProps<'__a>
impl<'__a> UnsafeUnpin for DocumentProps<'__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