[−][src]Trait arwa::Document
Provided methods
fn body(&self) -> Option<HtmlBodyElement>
fn set_body(&self, body: Option<&HtmlBodyElement>)
fn character_set(&self) -> String
fn child_elements(&self) -> DocumentChildElements
fn dir(&self) -> TextDirectionality
fn set_dir(&self, dir: TextDirectionality)
fn doctype(&self) -> Option<DocumentType>
fn document_element(&self) -> Option<GenericElement>
fn document_uri(&self) -> String
fn forms(&self) -> DocumentForms
fn fullscreen_enabled(&self) -> bool
fn has_focus(&self) -> bool
fn head(&self) -> Option<HtmlHeadElement>
fn images(&self) -> DocumentImages
fn last_modified(&self) -> String
fn links(&self) -> DocumentLinks
fn location(&self) -> Option<Location>
fn referrer(&self) -> String
fn title(&self) -> String
fn set_title(&self, title: &str)
fn on_fullscreen_change(&self) -> OnFullscreenChange
fn on_fullscreen_error(&self) -> OnFullscreenError
fn on_ready_state_change(&self) -> OnReadyStateChange
fn on_visibility_change(&self) -> OnVisibilityChange
fn adopt_node<T>(&self, node: &T) -> Result<GenericNode, AdoptNodeError> where
T: Node,
T: Node,
fn import_node<T>(&self, node: &T) -> Result<GenericNode, NotSupportedError> where
T: Node,
T: Node,
fn import_node_deep<T>(
&self,
node: &T
) -> Result<GenericNode, NotSupportedError> where
T: Node,
&self,
node: &T
) -> Result<GenericNode, NotSupportedError> where
T: Node,
fn query_id(&self, id: &str) -> Option<GenericElement>
fn query_selector_first(
&self,
selector: &str
) -> Result<Option<GenericElement>, SyntaxError>
&self,
selector: &str
) -> Result<Option<GenericElement>, SyntaxError>
fn query_selector_all(
&self,
selector: &str
) -> Result<QuerySelectorAll, SyntaxError>
&self,
selector: &str
) -> Result<QuerySelectorAll, SyntaxError>