Struct tl::HTMLTag [−][src]
pub struct HTMLTag<'a> { /* fields omitted */ }Expand description
Represents a single HTML element
Implementations
Returns an iterator over subnodes (“children”) of this HTML tag
Returns attributes of this HTML tag
Returns the contained markup Equivalent to Element#innerHTML in browsers)
Returns the contained text of this element, excluding any markup Equivalent to Element#innerText in browsers) This function may not allocate memory for a new string as it can just return the part of the tag that doesn’t have markup For tags that do have more than one subnode, this will allocate memory
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for HTMLTag<'a>
impl<'a> UnwindSafe for HTMLTag<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more