pub struct DocumentParts<Head, Body> {
pub head: Head,
pub body: Body,
}Expand description
Head and body inputs supplied to a document template.
Fields§
§head: HeadApplication-owned head output or view factory.
body: BodyApplication-owned body output or view factory.
Implementations§
Source§impl<Head, Body> DocumentParts<Head, Body>
impl<Head, Body> DocumentParts<Head, Body>
Trait Implementations§
impl<Head: Eq, Body: Eq> Eq for DocumentParts<Head, Body>
impl<Head: PartialEq, Body: PartialEq> StructuralPartialEq for DocumentParts<Head, Body>
Auto Trait Implementations§
impl<Head, Body> Forget for DocumentParts<Head, Body>
impl<Head, Body> Freeze for DocumentParts<Head, Body>
impl<Head, Body> Move for DocumentParts<Head, Body>
impl<Head, Body> RefUnwindSafe for DocumentParts<Head, Body>where
Head: RefUnwindSafe,
Body: RefUnwindSafe,
impl<Head, Body> Send for DocumentParts<Head, Body>
impl<Head, Body> Sync for DocumentParts<Head, Body>
impl<Head, Body> Unpin for DocumentParts<Head, Body>
impl<Head, Body> UnsafeUnpin for DocumentParts<Head, Body>where
Head: UnsafeUnpin,
Body: UnsafeUnpin,
impl<Head, Body> UnwindSafe for DocumentParts<Head, Body>where
Head: UnwindSafe,
Body: UnwindSafe,
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