pub enum HtmlCollectionTarget {
Show 16 variants
Children(ElementHandle),
ByTagName {
scope: HtmlCollectionScope,
tag_name: String,
},
ByTagNameNs {
scope: HtmlCollectionScope,
namespace_uri: String,
local_name: String,
},
ByClassName {
scope: HtmlCollectionScope,
class_names: String,
},
FormElements(ElementHandle),
SelectOptions(ElementHandle),
SelectSelectedOptions(ElementHandle),
DocumentPlugins,
DocumentLinks,
DocumentAnchors,
DocumentChildren,
WindowFrames,
MapAreas(ElementHandle),
TableTBodies(ElementHandle),
TableRows(ElementHandle),
RowCells(ElementHandle),
}Variants§
Children(ElementHandle)
ByTagName
ByTagNameNs
ByClassName
FormElements(ElementHandle)
SelectOptions(ElementHandle)
SelectSelectedOptions(ElementHandle)
DocumentPlugins
DocumentLinks
DocumentAnchors
DocumentChildren
WindowFrames
MapAreas(ElementHandle)
TableTBodies(ElementHandle)
TableRows(ElementHandle)
RowCells(ElementHandle)
Trait Implementations§
Source§impl Clone for HtmlCollectionTarget
impl Clone for HtmlCollectionTarget
Source§fn clone(&self) -> HtmlCollectionTarget
fn clone(&self) -> HtmlCollectionTarget
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HtmlCollectionTarget
impl Debug for HtmlCollectionTarget
Source§impl Hash for HtmlCollectionTarget
impl Hash for HtmlCollectionTarget
Source§impl Ord for HtmlCollectionTarget
impl Ord for HtmlCollectionTarget
Source§fn cmp(&self, other: &HtmlCollectionTarget) -> Ordering
fn cmp(&self, other: &HtmlCollectionTarget) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for HtmlCollectionTarget
impl PartialEq for HtmlCollectionTarget
Source§impl PartialOrd for HtmlCollectionTarget
impl PartialOrd for HtmlCollectionTarget
impl Eq for HtmlCollectionTarget
impl StructuralPartialEq for HtmlCollectionTarget
Auto Trait Implementations§
impl Freeze for HtmlCollectionTarget
impl RefUnwindSafe for HtmlCollectionTarget
impl Send for HtmlCollectionTarget
impl Sync for HtmlCollectionTarget
impl Unpin for HtmlCollectionTarget
impl UnsafeUnpin for HtmlCollectionTarget
impl UnwindSafe for HtmlCollectionTarget
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