[−][src]Struct arwa::DocumentFragment
Methods
impl DocumentFragment
[src]
pub fn query_id(&self, id: &str) -> Option<GenericElement>
[src]
pub fn query_selector_first(
&self,
selector: &str
) -> Result<Option<GenericElement>, SyntaxError>
[src]
&self,
selector: &str
) -> Result<Option<GenericElement>, SyntaxError>
pub fn query_selector_all(
&self,
selector: &str
) -> Result<QuerySelectorAll, SyntaxError>
[src]
&self,
selector: &str
) -> Result<QuerySelectorAll, SyntaxError>
pub fn child_elements(&self) -> DocumentFragmentChildElements
[src]
Trait Implementations
impl AsRef<DocumentFragment> for DocumentFragment
[src]
fn as_ref(&self) -> &DocumentFragment
[src]
impl AsRef<Node> for DocumentFragment
[src]
impl From<DocumentFragment> for DocumentFragment
[src]
fn from(inner: DocumentFragment) -> Self
[src]
impl Node for DocumentFragment
[src]
fn base_uri(&self) -> Option<String>
[src]
fn is_connected(&self) -> bool
[src]
fn node_type(&self) -> NodeType
[src]
fn node_value(&self) -> Option<String>
[src]
fn set_node_value(&self, value: Option<&str>)
[src]
fn text_content(&self) -> Option<String>
[src]
fn set_text_content(&self, content: Option<&str>)
[src]
fn compare_document_position<T>(&self, other: &T) -> CompareDocumentPosition where
T: Node,
[src]
T: Node,
fn is_default_namespace(&self, namespace: &str) -> bool
[src]
fn lookup_namespace_uri(&self, prefix: Option<&str>) -> Option<String>
[src]
fn lookup_prefix(&self, namespace: &str) -> Option<String>
[src]
fn normalize(&self)
[src]
fn root_node(&self) -> GenericNode
[src]
fn root_node_composed(&self) -> GenericNode
[src]
fn parent_node(&self) -> Option<GenericNode>
[src]
fn parent_element(&self) -> Option<GenericElement>
[src]
fn previous_sibling_node(&self) -> Option<GenericNode>
[src]
fn next_sibling_node(&self) -> Option<GenericNode>
[src]
fn child_nodes(&self) -> ChildNodes
[src]
Auto Trait Implementations
impl RefUnwindSafe for DocumentFragment
impl !Send for DocumentFragment
impl !Sync for DocumentFragment
impl Unpin for DocumentFragment
impl UnwindSafe for DocumentFragment
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,