pub struct Document { /* private fields */ }
Implementations
Trait Implementations
sourceimpl IDocumentTrait for Document
impl IDocumentTrait for Document
fn get_element_by_id<'b>(&self, id: &str) -> Option<BoxDynElement<'b>>
fn source_code(&self) -> &'static str
fn get_root_node<'b>(&self) -> BoxDynNode<'b>
fn onerror(&self) -> Option<Rc<Box<dyn Fn(BoxDynError)>>>
fn document_element<'b>(&self) -> Option<BoxDynElement<'b>>
fn title(&self) -> Option<&'static str>
fn head<'b>(&self) -> Option<BoxDynElement<'b>>
fn body<'b>(&self) -> Option<BoxDynElement<'b>>
fn trigger_error(&self, error: BoxDynError)
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more