pub struct Document { /* private fields */ }
Implementations§
Trait Implementations§
source§impl IDocumentTrait for Document
impl IDocumentTrait for Document
fn get_element_by_id<'b>(&self, id: &str) -> Option<BoxDynElement<'b>>
fn source_code(&self) -> String
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<String>
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§
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