pub struct Document;Implementations
sourceimpl Document
impl Document
sourcepub fn body() -> HtmlElement
pub fn body() -> HtmlElement
Get the global docuement’s body
sourcepub fn head() -> HtmlHeadElement
pub fn head() -> HtmlHeadElement
Get the head
sourcepub fn add_css_link(href: &str)
pub fn add_css_link(href: &str)
add a link
Auto Trait Implementations
impl RefUnwindSafe for Document
impl Send for Document
impl Sync for Document
impl Unpin for Document
impl UnwindSafe for Document
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more